/*
Theme Name: Studio 19
Theme URI: http://localhost/studio
Author: Antigravity
Author URI: http://localhost/studio
Description: Premium, ultra-luxury responsive theme for Studio 19 Interior Design Studio.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studio19
Tags: translation-ready, custom-menu, featured-images, custom-logo
*/

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

:root {
    /* Color Palette */
    --bg-dark: #0f0f0f;
    --bg-dark-card: #181818;
    --bg-light: #f9f8f6;
    --bg-light-card: #ffffff;
    --accent-gold: #d4af37;
    --accent-gold-rgb: 212, 175, 55;
    --accent-gold-dark: #bfa130;
    
    /* Text Colors */
    --text-light: #f5f2eb;
    --text-light-muted: #a3a3a3;
    --text-dark: #1e1e1e;
    --text-dark-muted: #666666;
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Layout */
    --max-width: 1400px;
    --header-height: 90px;
    
    /* Transitions */
    --ease-premium: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: all 0.8s var(--ease-premium);
    --transition-medium: all 0.5s var(--ease-premium);
    --transition-fast: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

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

p {
    font-weight: 300;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Utility Layouts */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 992px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem;
    }
}

.section {
    padding: 8rem 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

.grid {
    display: grid;
    gap: 2.5rem;
}

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

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

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

@media (max-width: 992px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Light Section overrides */
.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 100;
    transition: var(--transition-medium);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header.scrolled {
    height: 75px;
    background-color: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.header-light-page {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header.header-light-page.scrolled {
    background-color: rgba(249, 248, 246, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header.header-light-page:not(.scrolled) .nav-link {
    color: var(--text-dark);
}

.header.header-light-page:not(.scrolled) .nav-link::after {
    background-color: var(--text-dark);
}

.header.header-light-page:not(.scrolled) .logo-text {
    color: var(--text-dark);
}

.header.header-light-page:not(.scrolled) .nav-cta {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.header.header-light-page:not(.scrolled) .nav-cta::before {
    background-color: var(--text-dark);
}

.header.header-light-page:not(.scrolled) .nav-cta:hover {
    color: var(--bg-light);
}

.header.header-light-page:not(.scrolled) .menu-toggle span {
    background-color: var(--text-dark);
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

/* PNG logo image — invert to white on the default dark header */
.logo-img {
	width: 150px;
	/* max-height: 52px; */
	height: auto;
	display: block;
	object-fit: contain;
	/* filter: invert(1) brightness(2); */
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.logo:hover .logo-img {
    opacity: 0.85;
    transform: scale(1.02);
}

/* When header is on a light page and NOT yet scrolled, keep logo dark (it's already dark) */
.header.header-light-page:not(.scrolled) .logo-img {
    filter: none;
}

/* Footer logo stays white on dark footer */
.logo-img--footer {
    width: 150px;
    /*max-height: 48px;*/
    /*filter: invert(1) brightness(2);*/
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-link.active {
    color: var(--accent-gold);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
    transition: var(--transition-medium);
}

.btn-primary {
    border: 1px solid var(--accent-gold);
    color: var(--text-light);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-gold);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-premium);
}

.btn-primary:hover {
    color: #121212 !important;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-light);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s var(--ease-premium);
}

.btn-secondary:hover {
    color: var(--bg-dark) !important;
    border-color: var(--text-light);
}

.btn-secondary:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.section-light .btn-secondary {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-dark);
}

.section-light .btn-secondary::before {
    background-color: var(--text-dark);
}

.section-light .btn-secondary:hover {
    color: var(--bg-light) !important;
    border-color: var(--text-dark);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    position: relative;
    padding-bottom: 0.25rem;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-medium);
}

.btn-link:hover {
    color: var(--text-light);
}

.btn-link:hover::after {
    width: 100%;
    background-color: var(--text-light);
}

.section-light .btn-link:hover {
    color: var(--text-dark);
}

.section-light .btn-link:hover::after {
    background-color: var(--text-dark);
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--accent-gold);
    color: var(--text-light);
    font-size: 0.75rem;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-gold);
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--ease-premium);
}

.nav-cta:hover {
    color: #121212;
}

.nav-cta:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

/* Mobile Nav Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-medium);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.6s var(--ease-premium);
        z-index: 105;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    /* Cross icon animation when active */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transform: scale(1.05);
    animation: zoomOutBg 12s var(--ease-premium) forwards;
}

@keyframes zoomOutBg {
    to {
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.3, 1) 0.3s forwards;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.3, 1) 0.6s forwards;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.3, 1) 0.9s forwards;
}

@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Socials & Scroll Indicator */
.hero-socials {
    position: absolute;
    left: 4rem;
    bottom: 3.5rem;
    display: flex;
    gap: 2rem;
    z-index: 2;
}

.hero-socials a {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

.hero-socials a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.scroll-indicator {
    position: absolute;
    right: 4rem;
    bottom: 3.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

.scroll-line {
    width: 40px;
    height: 1px;
    background-color: var(--text-light-muted);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-gold);
    animation: scrollAnim 2s infinite var(--ease-premium);
}

@keyframes scrollAnim {
    0% { left: -100%; }
    50% { left: 0%; }
    100% { left: 100%; }
}

@media (max-width: 992px) {
    .hero-socials, .scroll-indicator {
        display: none;
    }
}

/* Scroll Reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }
.reveal-delay-3 { transition-delay: 0.6s; }

/* Splitted Section */
.split-section {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.split-section > div {
    flex: 1;
}

.split-img-wrapper {
    position: relative;
    overflow: hidden;
}

.split-img-wrapper img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.split-img-wrapper:hover img {
    transform: scale(1.03);
}

.experience-tag {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.experience-tag .num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 700;
}

.experience-tag .lbl {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0.5rem;
    text-align: center;
}

@media (max-width: 992px) {
    .split-section {
        flex-direction: column;
        gap: 3rem;
    }
    
    .split-img-wrapper img {
        height: 400px;
    }
    
    .experience-tag {
        padding: 2rem;
    }
    .experience-tag .num {
        font-size: 2.5rem;
    }
}

/* Showcase Grid */
.showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.showcase-item {
    position: relative;
    overflow: hidden;
}

.showcase-img {
    height: 600px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

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

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

.showcase-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transform: scale(0.8);
    transition: var(--transition-medium);
    background-color: rgba(15, 15, 15, 0.6);
}

.showcase-item:hover .showcase-icon {
    transform: scale(1);
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.showcase-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.showcase-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

@media (max-width: 992px) {
    .showcase-grid {
        gap: 2rem;
    }
    
    .showcase-img {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-img {
        height: 380px;
    }
}

/* Services section cards */
.services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background-color: var(--bg-dark-card);
    padding: 4rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.section-light .service-card {
    background-color: var(--bg-light-card);
    border-color: rgba(0, 0, 0, 0.05);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-premium);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-light .service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(212, 175, 55, 0.25);
    margin-bottom: 2rem;
    font-weight: 300;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .service-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonial Carousel */
.testimonials {
    background-color: #121212;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 350px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.8s var(--ease-premium);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.4;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.testimonial-client {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-info {
    text-align: left;
}

.client-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.client-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Call To Action */
.cta-section {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.25);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-light-muted);
    margin-bottom: 3rem;
}

/* Page Header (Subpages) */
.page-header {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-header h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.breadcrumbs span:last-child {
    color: var(--accent-gold);
}

/* Portfolio Page elements */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.filter-btn {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.filter-btn:hover::after,
.filter-btn.active::after {
    width: 30px;
}

.filter-btn.active {
    color: var(--accent-gold);
}

.portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.portfolio-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.portfolio-img {
    height: 500px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: #111;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.04);
}

.portfolio-details h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.portfolio-details .tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-img {
        height: 350px;
    }
}

/* Project Detail Page */
.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 4rem 0;
}

.project-meta-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    display: block;
}

.project-meta-item .value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .project-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .project-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* Image comparison / Gallery slider style layout */
.project-gallery-masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
}

.gallery-large {
    grid-column: span 8;
}

.gallery-small {
    grid-column: span 4;
}

.gallery-full {
    grid-column: span 12;
}

.gallery-img-wrapper {
    height: 500px;
    overflow: hidden;
}

.gallery-img-wrapper.large-height {
    height: 700px;
}

.gallery-img-wrapper.small-height {
    height: 350px;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-img-wrapper:hover img {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .gallery-large, .gallery-small {
        grid-column: span 12;
    }
    
    .gallery-img-wrapper {
        height: 450px !important;
    }
}

/* Interactive Before/After slider */
.before-after-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin: 4rem 0;
}

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

.before-after-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-before {
    z-index: 1;
}

.img-after {
    z-index: 2;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid var(--accent-gold);
}

.img-after img {
    /* Critical to prevent resizing of image inside shifting container */
    width: 100vw;
    max-width: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--accent-gold);
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: var(--bg-dark);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    pointer-events: none;
}

.slider-label {
    position: absolute;
    bottom: 2rem;
    padding: 0.5rem 1.25rem;
    background-color: rgba(15, 15, 15, 0.7);
    color: var(--text-light);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 4;
}

.label-before {
    right: 2rem;
}

.label-after {
    left: 2rem;
}

@media (max-width: 768px) {
    .before-after-container {
        height: 400px;
    }
}

/* About Page elements */
.philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.philosophy-card {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 2.5rem;
}

.philosophy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .philosophy-card {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 2rem;
    }
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.08);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 2rem 3rem;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-dark);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    top: 2.5rem;
    z-index: 1;
}

.timeline-item-left {
    left: 0;
    text-align: right;
}

.timeline-item-right {
    left: 50%;
}

.timeline-item-right::after {
    left: -8px;
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-item p {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 5rem;
        padding-right: 1.5rem;
        text-align: left;
    }
    
    .timeline-item-left {
        left: 0;
    }
    
    .timeline-item-right {
        left: 0;
    }
    
    .timeline-item::after {
        left: 23px;
    }
    
    .timeline-item-left::after {
        right: auto;
    }
}

/* Team Grid */
.team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.team-card {
    position: relative;
}

.team-img {
    height: 450px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-img img {
    transform: scale(1.03);
}

.team-socials-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0));
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition-medium);
}

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

.team-socials-overlay a {
    color: var(--text-light);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-socials-overlay a:hover {
    color: var(--accent-gold);
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.team-info .role {
    font-size: 0.8rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-img {
        height: 380px;
    }
}

/* Services Page Accordion */
.process-list {
    margin-top: 4rem;
}

.process-step {
    display: flex;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.process-step:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.process-step .step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-gold);
    font-weight: 700;
    line-height: 1;
    min-width: 80px;
}

.process-step .step-content {
    flex: 1;
}

.process-step h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 1.05rem;
    max-width: 800px;
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 0;
    }
    .process-step .step-num {
        font-size: 2.5rem;
    }
}

/* Accordion FAQ */
.faq-list {
    max-width: 900px;
    margin: 4rem auto 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
}

.section-light .faq-item {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
}

.faq-question h3 {
    font-size: 1.3rem;
    transition: var(--transition-fast);
}

.faq-question:hover h3 {
    color: var(--accent-gold);
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    transition: var(--transition-medium);
}

/* Horizontal line */
.faq-icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

/* Vertical line */
.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer p {
    padding-top: 1rem;
    font-size: 0.95rem;
}

/* Contact Page elements */
.contact-details-col {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info-block h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.contact-info-block p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.contact-info-block a:hover {
    color: var(--accent-gold);
}

.contact-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.contact-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.contact-socials a:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Form Styles */
.contact-form {
    background-color: var(--bg-dark-card);
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

@media (max-width: 576px) {
    .contact-form {
        padding: 2.5rem 1.5rem;
    }
}

.form-group {
    margin-bottom: 2.5rem;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-bottom-color: var(--accent-gold);
}

.form-label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    font-size: 0.9rem;
    color: var(--text-light-muted);
    pointer-events: none;
    transition: var(--transition-medium);
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -1.2rem;
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

textarea.form-input {
    min-height: 120px;
    resize: none;
}

/* Map visual placeholder */
.map-placeholder {
    width: 100%;
    height: 450px;
    background-color: #161616;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.map-card {
    position: relative;
    z-index: 2;
    background-color: rgba(15, 15, 15, 0.9);
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-width: 320px;
    text-align: center;
}

.map-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.map-card p {
    font-size: 0.85rem;
    color: var(--text-light-muted);
    margin-bottom: 1.5rem;
}

/* Custom Modal / Alert style */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--accent-gold);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: translateY(30px);
    transition: var(--transition-medium);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
}

.modal-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-card p {
    color: var(--text-light-muted);
    margin-bottom: 2rem;
}

/* Footer styling */
.footer {
    background-color: #0b0b0b;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 6rem 0 3rem 0;
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-col h3 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.95rem;
    color: var(--text-light-muted);
}

.footer-about .logo {
    margin-bottom: 1.5rem;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-list a {
    font-size: 0.9rem;
    color: var(--text-light-muted);
}

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

.footer-contact-info p {
    margin-bottom: 1rem;
}

.footer-newsletter p {
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 0;
    font-size: 0.9rem;
}

.newsletter-btn {
    padding: 0 1rem;
    cursor: pointer;
    color: var(--accent-gold);
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-socials-list {
    display: flex;
    gap: 1.5rem;
}

.footer-socials-list a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-socials-list a:hover {
    color: var(--accent-gold);
}
