/* =========================================
   CSS Variables & Resets
   ========================================= */
:root {
    --primary-color: #D8C3A5; /* Warm Beige */
    --secondary-color: #2F2F2F; /* Charcoal Grey */
    --accent-color: #C8A96A; /* Gold */
    --bg-white: #FFFFFF;
    --bg-light: #F8F8F8;
    --text-dark: #2F2F2F;
    --text-light: #666666;
    --white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

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

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6, .logo-text {
    font-family: var(--font-heading);
}

/* =========================================
   Reusable CSS Classes & Utilities
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

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

.grid {
    display: grid;
    gap: 30px;
}

.center {
    text-align: center;
}

/* Glassmorphism */
.glass-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-glass);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    color: var(--accent-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

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

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

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-dark:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: var(--transition);
    padding: 20px 0;
}

.header.scroll-header {
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    padding: 15px 0;
}

.header.scroll-header .nav-link,
.header.scroll-header .logo {
    color: var(--secondary-color);
}

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

.logo {
    display: flex;
    flex-direction: column;
    color: var(--white);
    z-index: 101;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.logo-subtext {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    column-gap: 30px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle, .nav-close {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--white);
}

.header.scroll-header .nav-toggle {
    color: var(--secondary-color);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('assets/hero_interior.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(47, 47, 47, 0.4);
}

.hero-container {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* =========================================
   About Preview
   ========================================= */
.about-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.about-description {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.about-img {
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

/* =========================================
   Services Section
   ========================================= */
.services-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-bottom: 3px solid var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =========================================
   Why Choose Us (Features)
   ========================================= */
.features-container {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    padding: 20px;
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* =========================================
   Featured Projects
   ========================================= */
.projects .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.projects-container {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(47, 47, 47, 0.9) 0%, rgba(47, 47, 47, 0) 100%);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.project-category {
    font-size: 0.85rem;
    color: var(--primary-color);
}

.project-link {
    font-size: 2rem;
    color: var(--accent-color);
}

.center-btn-mobile {
    display: none;
}

/* =========================================
   Process Section
   ========================================= */
.process-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    position: relative;
}

.process-step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.process-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--bg-light);
    line-height: 1;
    margin-bottom: 20px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    text-shadow: -1px -1px 0 var(--primary-color), 1px -1px 0 var(--primary-color), -1px 1px 0 var(--primary-color), 1px 1px 0 var(--primary-color);
}

.process-step h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 15px;
}

.process-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =========================================
   Testimonials
   ========================================= */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    padding: 30px;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

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

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

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

/* =========================================
   CTA Section
   ========================================= */
.cta {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #cccccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #1a1a1a;
    color: #cccccc;
    padding-top: 80px;
}

.footer-container {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
}

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

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
}

.footer-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact i {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 3px;
}

.footer-bottom {
    background-color: #111111;
    padding: 20px 0;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
}

/* =========================================
   Media Queries
   ========================================= */
@media screen and (max-width: 992px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-data {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .projects .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .view-all-btn {
        display: none;
    }
    
    .center-btn-mobile {
        display: block;
        text-align: center;
        margin-top: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .nav-toggle {
        display: block;
        color: var(--secondary-color);
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -2px 0 4px rgba(0,0,0,0.1);
        padding: 80px 40px;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .navbar.show-menu {
        right: 0;
    }
    
    .nav-close {
        display: block;
        position: absolute;
        top: 25px;
        right: 25px;
        color: var(--secondary-color);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-link {
        color: var(--secondary-color);
        font-size: 1.1rem;
    }
    
    .logo-text, .logo-subtext {
        color: var(--secondary-color);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .process-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   Hero Section Enhancements
   ========================================= */
.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

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

.stat-number {
    font-size: 2.5rem;
    color: var(--accent-color);
    display: inline-block;
}

.stat-item span {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 700;
}

.stat-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.floating-cta {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
    z-index: 10;
    transition: var(--transition);
}

.floating-cta:hover {
    transform: translateY(-5px);
    background: var(--white);
    color: var(--accent-color);
}

/* =========================================
   Before & After Slider
   ========================================= */
.ba-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    cursor: ew-resize;
}

.ba-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-img-after-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Initial state */
    height: 100%;
    overflow: hidden;
}

.ba-img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 900px; /* Must match slider max-width or be handled by JS */
    height: 100%;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 40px;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 5;
}

.ba-handle-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--white);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: var(--secondary-color);
}

/* =========================================
   Masonry Grid & Filters
   ========================================= */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--secondary-color);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
}

.masonry-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Make some items taller for masonry effect */
.masonry-item:nth-child(1), .masonry-item:nth-child(4) {
    grid-row: span 2;
}

.item-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    transition: var(--transition);
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-item:hover .item-overlay {
    bottom: 0;
}

.item-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.item-overlay span {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.hide-item {
    display: none;
}

/* =========================================
   Process Timeline
   ========================================= */
.timeline-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.timeline-line {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 18%;
}

.step-dot {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.timeline-step:hover .step-dot {
    background: var(--accent-color);
    transform: scale(1.2);
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* =========================================
   Testimonial Enhancements
   ========================================= */
.stars {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

