/* ==============================
   V.S. INTERIOR | CLEAN PREMIUM CSS
   ============================== */

:root {
    --bg-color: #faf9f5;
    --text-primary: #1a1a1a;
    --text-muted: #5a5a5a;
    --white: #ffffff;
    --border-color: #e5e3dd;
    --accent: #25D366;

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(250, 249, 245, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 900;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s var(--ease), padding 0.4s var(--ease);
}

.navbar.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 600;
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    font-size: 0.9rem;
    align-items: center;
    font-weight: 500;
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--text-primary);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover::after {
    width: 100%;
}

/* .nav-contact has no special default styling; hover underline is inherited from .nav-links a::after */

/* Admin Button in Navbar */
.nav-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    background: var(--text-primary);
    color: var(--white) !important;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    border-radius: 4px;
    transition: background 0.3s var(--ease), transform 0.2s;
}

.nav-admin-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

.nav-admin-btn::after {
    display: none !important;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.slides {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    /* Overlay logic */
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slide.active img {
    transform: scale(1);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: var(--white);
    z-index: 10;
    max-width: 800px;
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}

.slide-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slide-btn.prev {
    left: 5%;
}

.slide-btn.next {
    right: 5%;
}

/* Featured Marquee */
.featured-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.featured-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.marquee-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    padding-right: 2rem;
    animation: marquee-scroll 20s linear infinite;
}

.marquee span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 4rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #888;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Shared Headings */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    padding-top: 5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
}

.section-subtext {
    color: var(--text-muted);
}

.divider {
    width: 60px;
    height: 1px;
    background: var(--text-primary);
    margin: 2rem auto;
}

.divider.left {
    margin: 2rem 0;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--text-primary);
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s var(--ease);
    text-align: center;
}

.btn-primary:hover {
    background: #333;
}

.w-100 {
    width: 100%;
}

/* Founders Section */
.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 8rem;
    padding: 0 5%;
}

.founder-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.founder-img {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 4px;
}

.founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

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

.founder-info h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
}

.founder-info .designation {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.founder-info p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* About / Services Grid (Reused) */
.services-section {
    padding: 4rem 5% 8rem;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.expertise-list {
    background: #f7f6f2;
    padding: 4rem;
    border-radius: 8px;
}

.expertise-list h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.expertise-list ul {
    list-style: none;
}

.expertise-list li {
    font-size: 1rem;
    color: var(--text-muted);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.expertise-list li i {
    color: #d4c5b3;
    font-size: 0.8rem;
}

.expertise-list li:last-child {
    border: none;
}

/* Projects Section */
.projects-section {
    padding: 4rem 5% 8rem;
    background: var(--bg-color);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s;
    border-radius: 4px;
    border-radius: 50px;
}

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

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.4s;
}

.card-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.project-card:hover .overlay {
    opacity: 1;
}

.overlay span {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--white);
    padding-bottom: 2px;
}

.card-content {
    padding: 3rem;
}

.category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1rem;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* Form & Contact */
.contact-section {
    padding: 4rem 5% 8rem;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.enquiry-form-container {
    background: var(--bg-color);
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.enquiry-form-container h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.enquiry-form-container p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.flash-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.flash-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--text-primary);
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-column {
    margin-bottom: 2.5rem;
}

.contact-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.contact-column p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-weight: 400;
}

.contact-column a {
    color: var(--text-primary);
    transition: color 0.3s;
}

.contact-column a:hover {
    color: var(--accent);
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: var(--accent);
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 4px;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    align-self: flex-start;
}

.btn-whatsapp-large:hover {
    background: #1ebe57;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 4rem 5% 1rem;
    background: var(--text-primary);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.footer-col p {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #aaa;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.brand-col .f-logo {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.brand-col .f-logo strong {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
}

.brand-col .f-logo small {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #666;
}

/* Hide functionality for filters */
.project-card.hide {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {

    .about-grid,
    .founders-grid,
    .contact-wrapper,
    .project-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-content {
        text-align: center;
    }

    .slide-content h1 {
        font-size: 4rem;
    }
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1100;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.35s var(--ease);
    transform-origin: center;
}
/* Hamburger → X animation */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(250,249,245,0.98);
    backdrop-filter: blur(12px);
    z-index: 950;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.mobile-nav.open {
    display: flex;
    opacity: 1;
}
.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.2s;
}
.mobile-nav a:hover { opacity: 0.5; }
.mobile-nav .mobile-admin-btn {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.8rem 2rem;
    background: var(--text-primary);
    color: var(--white);
    border-radius: 4px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .slide-content h1 { font-size: 2.2rem; }
    .slide-content p { font-size: 0.85rem; }
    .card-content { padding: 2rem; }
    .enquiry-form-container { padding: 2rem; }
    .contact-info-panel { padding: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .filters { flex-direction: column; align-items: stretch; gap: 0.5rem; }
    .card-image { height: 280px; }
    .founder-img { height: 350px; }
}