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

:root {
    --bg-main: #0A0A0A; /* Darker for futuristic feel */
    --bg-white: #111111;
    --accent-gold: #B89B5E;
    --accent-glow: rgba(184, 155, 94, 0.4);
    --text-dark: #FFFFFF; /* Light text for dark mode */
    --text-muted: #A0A0A0;
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-glow: 0 0 20px var(--accent-glow);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Thinner, more elegant serif */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* Let italicized serif text pop */
em {
    font-style: italic;
    font-weight: 500;
}

/* --- Layout --- */
section {
    /* More generous spacing for luxury feel */
    padding: 150px 10%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 10%;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 15px 10%;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 4px; /* More tracked out */
    text-transform: uppercase;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

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

/* --- Hero Section --- */
#home {
    padding: 0;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/hero.png') center/cover no-repeat;
    transform: scale(1.1);
    /* Changed animation delay for slow zoom in animations.css */
}

/* Darker gradient overlay for better text contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3), rgba(10,10,10,0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

.hero-content p {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0;
    letter-spacing: 4px;
    text-transform: uppercase;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    transition-delay: 0.2s;
}

/* Minimalist Button */
.btn {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 3px;
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
    transition-delay: 0.4s;
    /* Remove rounding for sharp edges */
    border-radius: 0;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--bg-main);
    border-color: white;
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInScroll 2s ease-out 1.5s forwards;
}

.scroll-indicator span {
    color: white;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: scrollDown 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes scrollDown {
    0% { top: -100%; }
    50% { top: 0; }
    100% { top: 100%; }
}
@keyframes fadeInScroll {
    to { opacity: 0.8; }
}

/* --- About Section --- */
#about {
    background: var(--bg-white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px; /* Increased gap */
}

/* Sharp edges over soft curves */
.about-image {
    width: 100%;
    height: 700px;
    background: url('../assets/about.png') center/cover no-repeat;
    position: relative;
}

/* Fine structural detail */
.about-image::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    z-index: -1;
}

.about-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 40px;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 500px;
    font-weight: 300;
}

/* --- Projects --- */
#projects {
    background: var(--bg-main);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 20px;
}

.section-title h2 {
    font-size: clamp(3rem, 5vw, 4rem);
}

.section-title .view-all {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
}
.section-title .view-all::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-dark);
    transition: var(--transition-smooth);
}
.section-title .view-all:hover::after {
    width: 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px; /* More breathing room */
}

#services, 
#services .section-title h2, 
#services .section-title h2 em, 
#services .section-title p,
#services .service-card h3,
#services .service-card p,
#services .service-icon {
    color: #000000; /* Absolute black for better contrast on warm white */
}

#services {
    background: #FAF7F2; /* Warm Off-White/Cozy Sand */
    padding: 120px 10%;
}

/* Service Cards - Futuristic Glass Style */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: #FFF;
    border: 1px solid rgba(184, 155, 94, 0.1); /* Subtle gold tint border */
    padding: 50px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border-radius: 24px; /* Softer rounded corners */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03); /* Extremely soft shadow */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 20px 60px rgba(184, 155, 94, 0.08); /* Cozy glow */
    transform: translateY(-8px); /* Elegant lift */
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 0.95rem;
    color: #000000;
    line-height: 1.6;
}

.service-img-preview {
    width: 100%;
    height: 200px;
    margin-top: 25px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.service-card:hover .service-img-preview {
    border-color: var(--accent-gold);
    transform: scale(1.02);
}

/* Gallery Style (Text below image instead of overlay) */
.project-card {
    position: relative;
    cursor: pointer;
}

.project-img-wrapper {
    width: 100%;
    height: 550px;
    overflow: hidden;
    position: relative;
}

.project-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1.02);
}

.project-card:hover .project-img {
    transform: scale(1.08); /* Slow luxurious zoom */
}



/* --- Contact Section --- */
#contact {
    background: var(--bg-white);
    align-items: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    width: 100%;
    max-width: 1200px;
}

.contact-text h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 20px;
    color: white;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* Minimalist Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.form-group {
    position: relative;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 300;
    transition: var(--transition-smooth);
    color: var(--text-dark);
}

.form-group textarea {
    resize: none;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--text-dark);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.submit-btn {
    padding: 18px 45px;
    background: white;
    color: black;
    border: 1px solid white;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 3px;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
    display: inline-block;
    width: max-content;
}

.submit-btn:hover {
    background: transparent;
    color: var(--text-dark);
}

/* --- Footer --- */
footer {
    padding: 60px 10%;
    background: white;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

footer .logo {
    color: black;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(184, 155, 94, 0.3);
    z-index: 2000;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(184, 155, 94, 0.4);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Tooltip for the button */
.whatsapp-float::before {
    content: 'Book Appointment';
    position: absolute;
    right: 80px;
    background: var(--text-dark);
    color: #000000;
    padding: 8px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    #about, .contact-wrapper {
        gap: 60px;
    }
}

@media (max-width: 900px) {
    #about {
        grid-template-columns: 1fr;
    }
    .about-image {
        height: 500px;
        order: -1;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    section {
        padding: 100px 5%;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-float {
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }
    .whatsapp-float::before {
        display: none; /* Hide tooltip on small screens */
    }
}

/* --- Futuristic Effects --- */
.cursor-blur {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.5s ease;
}


