/*
Theme Name: Unlimited Plastering Theme
Theme URI: https://unlimitedplastering.com/
Description: A premium, modern, and highly animated WordPress theme designed for Unlimited Plastering.
Version: 1.0.0
Author: Antigravity
Author URI: https://google.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unlimited-plastering-theme
*/

/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #121214;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --accent: #d4a373;
    --accent-rgb: 212, 163, 115;
    --accent-hover: #e3b687;
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(212, 163, 115, 0.3);
    --glass-bg: rgba(10, 10, 11, 0.85);
    --glass-blur: 16px;
    --font-heading: 'Fjalla One', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

p {
    color: var(--text-secondary);
}

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

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

/* ==========================================================================
   Utility Layout Classes
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

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

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

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

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

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

@media (max-width: 767px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 50px 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

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

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

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

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: bold;
}

.btn-primary::before {
    background: var(--text-primary);
}

.btn-primary:hover {
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* ==========================================================================
   Animations & Transition Effects
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.fade-left {
    transform: translateX(-40px);
}

.reveal-on-scroll.fade-right {
    transform: translateX(40px);
}

.reveal-on-scroll.scale-in {
    transform: scale(0.9);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Delayed reveals for grids */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Micro-animations */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(var(--accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

@keyframes line-draw {
    0% { width: 0; }
    100% { width: 80px; }
}

/* ==========================================================================
   Header / Navigation Styles
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.site-header .nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: #121214; /* Dark charcoal for text fallback */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.site-logo span {
    color: #b58353; /* Darker accent for contrast */
    transition: var(--transition-smooth);
}

.site-logo-container img {
    max-height: 80px; /* Enlarged from 50px for high visibility */
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #3a3a3c; /* Readable dark gray */
    position: relative;
    padding: 5px 0;
    transition: var(--transition-smooth);
}

.main-navigation a:hover,
.main-navigation li.current-menu-item a {
    color: #b58353; /* Darker accent for contrast on white background */
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #b58353;
    transition: var(--transition-smooth);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Burger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #121214; /* Dark charcoal */
    margin: 6px 0;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Scrolled Header (Turns Black with White/Gold Elements)
   ========================================================================== */
.site-header.scrolled {
    background: rgba(10, 10, 11, 0.95); /* Solid black-charcoal */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 5px 0;
}

.site-header.scrolled .nav-container {
    padding: 8px 0;
}

/* Make logo monochrome white on black background */
.site-header.scrolled .site-logo-container img {
    max-height: 58px; /* Enlarged from 42px for legibility when scrolled */
    filter: brightness(0) invert(1);
}

/* Text fallback logo turns white/gold on scroll */
.site-header.scrolled .site-logo {
    color: #f5f5f7;
}

.site-header.scrolled .site-logo span {
    color: var(--accent); /* Light Gold */
}

/* Links turn to light gray when header is black */
.site-header.scrolled .main-navigation a {
    color: #a1a1a6;
}

.site-header.scrolled .main-navigation a:hover,
.site-header.scrolled .main-navigation li.current-menu-item a {
    color: var(--accent); /* Light Gold */
}

.site-header.scrolled .main-navigation a::after {
    background: var(--accent);
}

/* Toggle icon turns white when header is black */
.site-header.scrolled .menu-toggle span {
    background: #f5f5f7;
}

/* ==========================================================================
   Mobile Navigation Menu (Always Dark Drawer)
   ========================================================================== */
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #121214; /* Dark background for mobile drawer */
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 100px 40px;
        transition: var(--transition-smooth);
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 25px;
    }
    
    /* Mobile drawer links are always light gray */
    .main-navigation a {
        color: #a1a1a6 !important;
    }
    
    .main-navigation a:hover,
    .main-navigation li.current-menu-item a {
        color: var(--accent) !important;
    }
    
    .main-navigation a::after {
        background: var(--accent) !important;
    }
    
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hamburger becomes white when menu drawer is open (since drawer is dark) */
    .menu-toggle.open span {
        background: #f5f5f7 !important;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background-color: var(--bg-primary);
    overflow: hidden;
}

/* Background Slideshow */
.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    animation: heroKenBurns 8s linear forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none; /* Removed dark gradient overlay on desktop for 100% bright and clear photos */
    z-index: 2;
    pointer-events: none;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-container-content {
    position: relative;
    z-index: 4;
    width: 100%;
}

/* WeTransfer style floating glassmorphic card */
.hero-content {
    max-width: 520px;
    background: rgba(18, 18, 20, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid rgba(212, 163, 115, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 
                0 0 40px rgba(212, 163, 115, 0.03);
    text-align: left;
    margin-right: auto; /* Align to the left side of the container */
    transition: var(--transition-smooth);
}

.hero-tagline {
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem; /* Slightly reduced to fit beautifully in the card */
    line-height: 1.05;
    margin-bottom: 25px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.05rem;
    margin-bottom: 35px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* Background Full-Screen Accordion (WeTransfer Style) */
.hero-slides-accordion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 1;
}

.accordion-panel {
    position: relative;
    flex: 1;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-panel:last-child {
    border-right: none;
}

.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}
/* 60% dark overlay on each column to darken photos further */
.accordion-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 11, 0.6);
    transition: background 0.4s ease;
    z-index: 2;
}

/* Active state expansions */
.accordion-panel.active {
    flex: 1.8; /* Expands column width */
}

.accordion-panel.active::before {
    background: rgba(10, 10, 11, 0.6);
}

/* Active zoom effect */
.accordion-panel.active .panel-bg {
    transform: scale(1.08); /* Snappy scale zoom */
}

.panel-content {
    position: absolute;
    bottom: 40px;
    left: 30px;
    z-index: 3;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.panel-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--accent);
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    opacity: 0.5;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.accordion-panel.active .panel-title {
    opacity: 1;
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .hero-slides-accordion {
        display: block; /* Disable flex layout */
    }
    
    .accordion-panel {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        border-right: none;
        transition: opacity 1.5s ease-in-out;
    }
    
    .accordion-panel.active {
        opacity: 1;
    }
    
    .panel-content {
        display: none; /* Hide labels on mobile backgrounds */
    }
    
    .panel-bg {
        transform: none !important; /* Disable scaling hover zoom on mobile */
    }
}

@media (max-width: 767px) {
    .hero-overlay {
        /* Vertical gradient on mobile since card takes full width */
        background: linear-gradient(
            to bottom, 
            rgba(10, 10, 11, 0.8) 0%, 
            rgba(10, 10, 11, 0.7) 40%, 
            rgba(10, 10, 11, 0.95) 100%
        );
    }
    .hero-content {
        max-width: 100%;
        padding: 35px 25px;
        margin: 0;
        background: rgba(18, 18, 20, 0.65); /* Darker on mobile for better contrast */
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==========================================================================================
   Section Layouts & Styling
   ========================================================================== */
.section-header {
    max-width: 600px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.section-tagline {
    font-size: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0 auto;
}

/* About Us Section */
.about-section {
    background: var(--bg-secondary);
}

.about-grid {
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, var(--bg-secondary) 100%);
    z-index: 1;
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feat-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.feat-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.feat-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.feat-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feat-desc {
    font-size: 0.85rem;
}

@media (max-width: 575px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Services Section (Custom Grid with Animations)
   ========================================================================== */
.services-section {
    background: var(--bg-primary);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(212, 163, 115, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--bg-primary);
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.service-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: bold;
}

.service-link svg {
    transition: var(--transition-smooth);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* ==========================================================================
   Process Section (Timeline Animation)
   ========================================================================== */
.process-section {
    background: var(--bg-secondary);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0 auto;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 60px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--accent);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-item:hover .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.timeline-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(212, 163, 115, 0.15);
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-number {
    color: var(--accent);
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 0.95rem;
}

@media (max-width: 767px) {
    .process-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }
}

/* ==========================================================================
   Showcase / Gallery Section
   ========================================================================== */
.showcase-section {
    background: var(--bg-primary);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.showcase-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border);
    cursor: pointer;
}

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

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(10, 10, 11, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

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

.showcase-tag {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.showcase-title {
    font-size: 1.2rem;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.showcase-item:hover .showcase-title {
    transform: translateY(0);
}

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

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

.showcase-hidden {
    display: none !important;
}

.showcase-actions {
    text-align: center;
    margin-top: 50px;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

/* ==========================================================================
   Contact Section (Floating Labels and Modern Form)
   ========================================================================== */
.contact-section {
    background: var(--bg-secondary);
}

.contact-grid {
    align-items: stretch;
}

.contact-info-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(212, 163, 115, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    text-transform: uppercase;
}

.contact-val {
    font-size: 1.05rem;
    color: var(--text-primary);
}

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

.form-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-control {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

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

.form-label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-secondary);
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* Floating label effect trigger via JS focus class */
.form-group.focused .form-label,
.form-group.has-value .form-label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: bold;
}

.form-submit-row {
    text-align: right;
}

.form-submit-row .btn {
    width: 100%;
}

@media (min-width: 768px) {
    .form-submit-row .btn {
        width: auto;
    }
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 80px 0 0 0;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-img {
    max-height: 70px;
    width: auto;
    filter: brightness(0) invert(1); /* Monochrome white footer logo */
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-secondary);
}

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

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-top: 50px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 40px;
    }
    .footer-about {
        grid-column: span 1;
        text-align: center;
    }
    .footer-logo-img {
        margin: 0 auto;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col {
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   Video Presentation Section (Vertical Layout)
   ========================================================================== */
.video-section {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.video-grid {
    align-items: center;
    gap: 60px;
}

.video-left {
    display: flex;
    justify-content: center;
}

.video-wrapper.vertical-video {
    width: 100%;
    max-width: 360px; /* Constrain width on desktop so it doesn't get too tall */
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border);
    position: relative;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 11, 0.4);
    transition: var(--transition-smooth);
}

.video-thumbnail:hover::before {
    background: rgba(10, 10, 11, 0.55);
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    padding-left: 6px;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-bounce);
    animation: pulse-glow 2s infinite;
}

.video-thumbnail:hover .video-play-btn {
    transform: scale(1.1);
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 25px var(--text-primary);
}

/* Right Column Content */
.video-right .section-title {
    text-align: left;
    margin-bottom: 25px;
}

.video-right .section-title::after {
    margin: 15px 0 0 0; /* Align underline to the left */
}

.video-info-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.video-bullets {
    margin-bottom: 40px;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

.bullet-icon {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 3px;
}

.bullet-text {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.bullet-text strong {
    color: var(--accent);
}

/* Immersive Video Modal (Vertical) */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 6, 0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 400px; /* Narrow width for vertical video modal */
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    z-index: 2;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.video-modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.video-modal-body {
    position: relative;
    padding-top: 177.77%; /* 9:16 Aspect Ratio */
}

.video-modal-body video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

@media (max-width: 991px) {
    .video-grid {
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    .video-right .section-title {
        text-align: center;
    }
    .video-right .section-title::after {
        margin: 15px auto 0 auto;
    }
}

/* ==========================================================================
   Plaster Brushstroke Preloader
   ========================================================================== */
.site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    pointer-events: all;
    background: var(--bg-primary); /* Dark fallback */
    overflow: hidden;
}

#preloader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes preloaderLogoFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.preloader-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    width: 90%;
    max-width: 250px;
    animation: preloaderLogoFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.15s;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-logo-container.fade-out {
    animation: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-logo {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 15px rgba(212, 163, 115, 0.2));
}

/* Prevent scrolling while preloader is active */
body.preloader-active {
    overflow: hidden;
    height: 100vh;
}

/* ==========================================================================
   News & Blog Section
   ========================================================================== */
.news-section {
    background: var(--bg-primary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 163, 115, 0.1);
    background: var(--bg-card-hover);
}

.news-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-secondary);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.05) 0%, rgba(10, 10, 11, 0.8) 100%);
    color: var(--accent);
    font-size: 3rem;
    opacity: 0.8;
}

.news-card-date {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    z-index: 2;
}

.news-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-meta {
    margin-bottom: 12px;
}

.news-card-category {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.news-card-category i {
    margin-right: 4px;
}

.news-card-title {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.news-card:hover .news-card-title {
    color: var(--accent);
}

.news-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-card-readmore {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: var(--transition-smooth);
}

.news-card-readmore i {
    transition: var(--transition-smooth);
}

.news-card:hover .news-card-readmore {
    color: var(--accent);
}

.news-card:hover .news-card-readmore i {
    transform: translateX(5px);
}

.fallback-card .news-card-link {
    cursor: default;
}

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

@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

/* ==========================================================================
   Single Post Page Template
   ========================================================================== */
.single-post-main {
    padding-top: 140px; /* Leave space for the fixed header */
    padding-bottom: 80px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.single-post-article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.post-back-nav {
    margin-bottom: 30px;
}

.back-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

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

.back-link i {
    transition: var(--transition-smooth);
}

.back-link:hover i {
    transform: translateX(-4px);
}

.post-header {
    margin-bottom: 35px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 25px;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-category-tag {
    color: var(--accent);
    font-weight: bold;
    text-transform: uppercase;
}

.post-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.post-featured-image {
    width: 100%;
    max-height: 450px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--border);
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-content p {
    margin-bottom: 25px;
    color: var(--text-primary);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content h2 { font-size: 1.8rem; }
.post-content h3 { font-size: 1.4rem; }

.post-content ul,
.post-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content blockquote {
    border-left: 4px solid var(--accent);
    background: rgba(212, 163, 115, 0.05);
    padding: 20px 30px;
    margin: 35px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.post-content blockquote p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.post-content a {
    color: var(--accent);
    text-decoration: underline;
}

.post-content a:hover {
    color: var(--accent-hover);
}

.post-footer {
    margin-top: 50px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    text-align: center;
}

@media (max-width: 767px) {
    .single-post-article {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .single-post-main {
        padding-top: 110px;
    }
}

/* ==========================================================================
   Language Switcher Style
   ========================================================================== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 25px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    z-index: 100;
}

.lang-btn {
    color: #3a3a3c;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 2px 4px;
}

.lang-btn:hover {
    color: #b58353;
}

.lang-btn.active {
    color: #b58353;
    font-weight: bold;
}

.lang-separator {
    color: rgba(0, 0, 0, 0.15);
    user-select: none;
}

/* Scrolled state */
.site-header.scrolled .lang-btn {
    color: #a1a1a6;
}

.site-header.scrolled .lang-btn:hover {
    color: var(--accent);
}

.site-header.scrolled .lang-btn.active {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(212, 163, 115, 0.4);
}

.site-header.scrolled .lang-separator {
    color: var(--border);
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
    .lang-switcher {
        margin-left: auto;
        margin-right: 20px;
    }
    
    /* In mobile drawer menu is always dark, but switcher stays in header. Let's make sure it is readable */
    .lang-btn {
        color: #3a3a3c;
    }
    
    .site-header.scrolled .lang-btn {
        color: #a1a1a6;
    }
}

@media (max-width: 480px) {
    .lang-switcher {
        font-size: 0.8rem;
        gap: 4px;
        margin-right: 15px;
    }
}


