/* Root Variables & Global Reset */
:root {
    --primary: #0a2342; /* Deep Navy Blue */
    --secondary: #c9a227; /* Rich Gold/Mustard */
    --accent: #f5f5f5; /* Light Grey Background */
    --text: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --container-width: 1200px;
    --transition: all 0.4s ease-in-out;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary);
    margin-left: 1px;
}

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

.nav-links a {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width var(--transition), left var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1517457373958-b7bdd4587205?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding-top: 90px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 35, 66, 0.75), rgba(10, 35, 66, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Buttons */
.btn {
    padding: 1.1rem 2.2rem;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: #d6b338;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 15px rgba(201, 162, 39, 0.4);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px) scale(1.02);
}

/* General Sections */
.intro {
    padding: 10rem 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.intro-text p {
    margin-bottom: 1.2rem;
    color: var(--light-text);
}

.btn-text {
    font-weight: 700;
    color: var(--secondary);
    margin-top: 1rem;
    display: inline-block;
}

.btn-text:hover {
    color: #a07e1e;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 25px 25px 0 rgba(10, 35, 66, 0.1);
    object-fit: cover;
}

/* Color Section */
.promise {
    padding: 10rem 0;
    color: var(--white);
}

.promise .feature-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.promise h2, .promise h3 {
    color: var(--white);
}

.promise p {
    color: rgba(255, 255, 255, 0.8);
}

/* Features / Cards */
.features {
    background-color: var(--accent);
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header span {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-top: 0.75rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Page Headers (for subpages) */
.page-header {
    padding: 14rem 0 7rem;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.content-section {
    padding: 8rem 0;
}

/* Footer */
footer {
    background-color: #051325; /* Darker Navy */
    color: var(--white);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-info .logo a {
    color: var(--white);
}

.footer-info p {
    opacity: 0.65;
    margin-top: 1rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    color: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    opacity: 0.7;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-contact p {
    opacity: 0.7;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .intro-image {
        order: -1; /* Move image above text on small screens */
    }
    .intro-image img {
        box-shadow: 15px 15px 0 rgba(10, 35, 66, 0.1);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    .btn {
        padding: 0.9rem 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 5px);
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }

    .page-header {
        padding: 10rem 0 5rem;
    }

    .content-section, .intro {
        padding: 5rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}