/* --- Base Styles & Variables --- */
:root {
    --primary-color: #1a2b4c;
    --accent-color: #d4af37; /* Soft Gold */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-main: #ffffff;
    --bg-light: #f8f9fa;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lora', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Explicitly ensuring normal scrolling behavior */
    overflow-y: auto;
    height: auto;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--bg-main);
    /* No height limit */
    min-height: 100vh; 
    overflow-x: hidden;
}

h1, h2, h3, .brand {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

.navbar.scrolled .brand,
.navbar.scrolled .nav-links a {
    color: var(--primary-color);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(26, 43, 76, 0.2);
}

.btn-large:hover {
    box-shadow: 0 6px 20px rgba(26, 43, 76, 0.3);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: linear-gradient(rgba(26, 43, 76, 0.7), rgba(26, 43, 76, 0.8)), url('hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    margin-top: 60px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    color: #e0e0e0;
}

/* --- Sections --- */
.section {
    padding: 6rem 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section.about h2::after,
.section.services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.section.services h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* --- About Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
}

/* --- Contact Section --- */
.contact {
    background: #fff;
    padding: 8rem 0;
}

.contact-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
.footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* --- Animations & Interactivity --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simplification for pure mobile web app feel without complex JS menus */
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section.about h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-text {
        text-align: center;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .btn-large {
        width: 100%;
        padding: 1.2rem 1rem;
    }
}