/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --primary: #ffffff;
    /* White Background */
    --secondary: #f4f6f7;
    /* Light Grey Section */
    --accent: #b38b37;
    /* Gold (Darker for contrast on white) */
    --text: #2c3e50;
    /* Dark Text */
    --text-muted: #636e72;
    /* Darker grey for better visibility */
    /* Grey Text */
    --white: #ffffff;
    --dark: #1a1a1a;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.8;
    /* Increased line-height */
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    /* Bolder headings */
    letter-spacing: -0.5px;
    /* Tighter letter spacing for display fonts */
}

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

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ---------------- HEADER ---------------- */
header {
    position: fixed;
    /* Changed from absolute for sticking */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    /* White glass */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    /* Animation Speed */
}

header.sticky {
    padding: 10px 0;
    /* Shrink padding */
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

header.sticky .logo {
    font-size: 1.5rem;
    /* Shrink logo */
}

header.sticky img {
    height: 40px !important;
    /* Shrink image logo if present */
    transition: all 0.4s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.btn-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 2px;
}

.btn-cta:hover {
    background: var(--dark);
    color: var(--white) !important;
}

/* Mobile Toggle */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background: var(--dark);
    margin: 6px;
}

/* ---------------- HERO (LIGHT) ---------------- */
.hero {
    height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

/* Light Overlay so dark text pops */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    /* White overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-left: 10%;
    border-left: 5px solid var(--accent);
    padding-left: 40px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
    /* Dark Text */
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 40px;
    color: var(--text);
    /* Dark Text */
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.8s;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--dark);
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Mobile Hero Fixes */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        background-position: center;
        justify-content: center;
    }

    .hero-content {
        max-width: 90%;
        margin: 0 auto;
        padding: 30px 20px;
        border-left: 4px solid var(--accent);
        text-align: left;
        /* Left Align Text */
        background: rgba(255, 255, 255, 0.95);
        /* High contrast background */
        border-radius: 4px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        color: #000;
    }

    .hero-content p {
        font-size: 1rem;
        color: #333;
        margin-bottom: 25px;
    }

    /* Ensure Button Visibility */
    .btn-cta,
    .btn-outline {
        background: #1a1a1a !important;
        color: #ffffff !important;
        border: 1px solid #1a1a1a !important;
        opacity: 1 !important;
        display: inline-block;
        padding: 12px 25px;
        margin-top: 10px;
    }

    .scroll-down {
        bottom: 20px;
    }
}

/* ---------------- SECTIONS (LIGHT) ---------------- */
.section {
    padding: 140px 0;
    /* More vertical breathing room */
}

/* Subtle Pattern for Secondary Sections */
.bg-secondary {
    background-color: #f8f9fa;
    background-image:
        radial-gradient(#e9ecef 1px, transparent 1px),
        radial-gradient(#e9ecef 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.section-head {
    text-align: center;
    margin-bottom: 100px;
}

.section-head h2 {
    font-size: 3.5rem;
    /* Larger headings */
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-img {
    flex: 1;
    position: relative;
}

.split-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 15px 15px 0 var(--accent);
    /* Sharper, bolder shadow */
    border: 1px solid #000;
    /* Distinct border */
}

.split-text {
    flex: 1;
}

.split-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.split-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ---------------- GRID COLLECTION (LIGHT) ---------------- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 50px;
    /* Increased gap */
}

.grid-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #000;
    /* Dark bg for image loading */
    border: 1px solid #eee;
    /* Subtle border */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
}

/* Testimonials */
.testimonial-card {
    height: auto;
    width: 100%;
    max-width: 600px;
    background: #fff;
    padding: 40px;
    border: 1px solid #ddd;
    /* Sharp border */
    border-radius: 0;
    /* Boxy feel for linearity */
    box-shadow: 10px 10px 0 #f1f1f1;
    /* Offset block shadow */
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
    /* White gradient */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: 0.4s;
}

.grid-item:hover .grid-overlay {
    opacity: 1;
}

.grid-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--dark);
    transform: translateY(20px);
    transition: 0.4s;
}

.grid-item:hover .grid-overlay h3 {
    transform: translateY(0);
}

/* ---------------- FOOTER (CLEAN LIGHT) ---------------- */
footer {
    background-color: #f8f9fa;
    /* Very Light Grey */
    border-top: 1px solid #e1e1e1;
    padding-top: 80px;
    margin-top: 50px;
    color: var(--text);
}

.footer-top-border {
    height: 2px;
    background: var(--accent);
    margin-bottom: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;
}

.footer-widget h3,
.footer-widget h4 {
    color: var(--dark);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border-left: 3px solid var(--accent);
    padding-left: 15px;
}

.footer-desc {
    color: var(--text-muted);
}

.footer-menu,
.contact-list {
    list-style: none;
    padding: 0;
}

.footer-menu a {
    color: var(--text-muted);
    transition: 0.3s;
}

.footer-menu a:hover {
    color: var(--accent);
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text);
}

.contact-list i {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.footer-bottom {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: 70px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        transform: translateX(100%);
        transition: 0.3s;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.05);
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    .burger {
        display: block;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
        border: none;
    }

    .split-layout {
        flex-direction: column !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------- PROJECT PAGE STYLES ---------------- */
.project-header {
    height: 60vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: -85px;
    /* Offset header */
}

.project-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.project-title {
    position: relative;
    z-index: 2;
    padding-left: 10%;
    border-left: 5px solid var(--accent);
    color: #fff;
}

.project-title h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.project-title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Gallery Styles */
.gallery-section {
    padding: 80px 0;
    background: #fff;
}

.swiper {
    width: 100%;
    height: 500px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 400px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.swiper-slide:hover {
    transform: translateY(-10px);
}

/* Content */
.content-area {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
}

.gallery-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark);
}

/* Utilities */
.text-accent {
    color: var(--accent) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.bg-secondary {
    background: var(--secondary);
}

.bg-white {
    background: #fff;
}

.pt-100 {
    padding-top: 100px;
}

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

.btn-outline:hover {
    background: #333;
    color: #fff !important;
}

.subtitle {
    color: var(--accent);
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin: 0;
}

.link-arrow {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
    display: inline-block;
}

.link-arrow:hover {
    color: var(--accent);
}

.list-check {
    list-style: none;
    padding: 0;
    color: var(--text-muted);
}

.list-check li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.list-check i {
    color: var(--accent);
    margin-right: 10px;
}

/* Testimonials */
.testimonial-card {
    height: auto;
    width: 100%;
    max-width: 600px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    margin: 0;
}

.testimonial-title {
    font-size: 0.9rem;
    color: #888;
}

.testimonial-text {
    font-style: italic;
    color: #555;
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .section-head h2 {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .grid-container {
        grid-template-columns: 1fr !important;
    }

    .project-header {
        height: 40vh;
        margin-top: -70px;
    }

    .project-title h1 {
        font-size: 2rem;
    }

    .project-title {
        padding-left: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
    }
}