/* Variables & Reset */
:root {
    --primary: #0f172a;
    /* Navy Blue */
    --secondary: #c5a059;
    /* Gold */
    --light: #f8f9fa;
    --dark: #1e293b;
    --text-body: #4b5563;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

.separator {
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    margin: 0 auto 20px auto;
}

.separator.left {
    margin: 0 0 20px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b08d4d;
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo span {
    color: var(--secondary);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-weight: 400;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--secondary);
}

.btn-contact {
    border: 1px solid var(--secondary);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--secondary) !important;
}

.btn-contact:hover {
    background-color: var(--secondary);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px auto;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1505664194779-8beaceb93744?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    /* Override if needed */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Services */
.services {
    position: relative;
    background-image: url('services-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Elegant parallax effect */
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    /* Dark overlay matching --primary */
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services .section-title,
.services .section-desc {
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.92);
    padding: 40px 30px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

/* About */
.about {
    position: relative;
    background-image: url('about-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.60);
    /* 60% opacity per user request */
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* Fill the container space to properly center vertically */
}

.about-image img {
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--secondary);
    width: 80%;
    /* Smaller than taking up the full width */
    height: auto;
    /* Restores the original image aspect ratio completely intact */
}

.small-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9c7c40;
    /* Darker secondary matching for contrast */
}

.about-text {
    background-color: rgba(255, 255, 255, 0.85);
    /* Solid white box with slight transparency */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    /* Extra classiness */
}

.about-text p {
    font-size: 1.15rem;
    color: #111827;
    font-weight: 500;
    text-align: justify;
    /* Justify text per user request */
    margin-bottom: 20px;
    /* Add margin to space out paragraphs */
}

.section-title.left {
    text-align: left;
    color: var(--primary);
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    /* Darker to stand out more */
}

.stat-item .label {
    font-size: 1rem;
    font-weight: 600;
    /* Bolder label */
    color: #374151;
    /* Darker body color */
}

/* Contact */
.contact {
    position: relative;
    background-image: url('contact-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(248, 249, 250, 0.40);
    /* Reduced from 0.85 to 0.40 for more image clarity */
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact .section-desc {
    font-size: 1.25rem;
    /* Increased size */
    color: var(--white);
    /* White color */
    font-weight: 600;
    /* Bolder weight */
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.8);
    /* Added dark shadow to ensure it stands out perfectly against any background detail */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 50px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 5px;
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.btn.full {
    width: 100%;
    grid-column: 1 / -1;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 30px 0;
    border-top: 5px solid var(--secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--white);
    margin-left: 20px;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--primary);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
    }

    .nav-list.active {
        left: 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

}