/* ===================================
   Capital Stoneworks - Light Theme
   White background with Black & Gold accents
   =================================== */

/* ===== CSS Variables - Light Theme ===== */
:root {
    /* Primary Colors - Light Theme with Black & Gold Accents */
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8f8;
    --color-bg-dark: #f0f0f0;
    --color-text: #1a1a1a;
    --color-text-light: #555555;
    --color-black: #0a0a0a;
    --color-black-light: #1a1a1a;
    --color-black-lighter: #2a2a2a;
    --color-gold: #b8953f;
    --color-gold-light: #c9a962;
    --color-gold-dark: #a07d2e;
    --color-white: #ffffff;
    --color-gray: #777777;
    --color-gray-light: #f5f5f5;
    --color-gray-dark: #333333;
    --color-border: #e5e5e5;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    --gradient-dark: linear-gradient(180deg, var(--color-black) 0%, var(--color-black-light) 100%);

    /* Typography */
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1400px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;

    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 10px 40px rgba(184, 149, 63, 0.15);
}

/* ===== Reset & Base Styles ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

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

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

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

.btn-gold {
    background: var(--gradient-gold);
    color: var(--color-white);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* Button Shine Effect */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    transition: var(--transition-slow);
    opacity: 0;
}

.btn:hover::after {
    animation: btnShine 0.6s ease-out;
    opacity: 1;
}

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

/* ===== Header Topper Bar ===== */
.header-topper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background: var(--color-black-light);
    height: 38px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.header-topper .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-topper a {
    color: var(--color-white);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.header-topper a:hover {
    color: var(--color-gold);
}

.header-topper svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.header-topper .topper-phone svg {
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 2;
}

.header-topper .topper-email svg {
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 2;
}

.header-topper.hidden {
    transform: translateY(-100%);
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 38px;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 160px;
    display: flex;
    align-items: center;
    transition: var(--transition-medium);
    /* Gradient overlay for readability over hero */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.25) 70%,
        transparent 100%
    );
}

.header.scrolled {
    top: 0;
    height: 110px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

/* Logo - Left */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
}

.logo img {
    height: 200px;
    width: auto;
    max-height: 200px;
    object-fit: contain;
    transition: var(--transition-fast);
    /* Crisp rendering */
    image-rendering: -webkit-optimize-contrast;
    /* Visibility over hero */
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.header.scrolled .logo img {
    height: 140px;
    max-height: 140px;
    filter: none;
}

/* Navigation - TRUE CENTER */
.nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    position: relative;
    padding: 10px 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

.header.scrolled .nav-menu a {
    color: var(--color-black);
    text-shadow: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-fast);
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-gold);
}

/* CTA Button - Right */
.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    z-index: 1001;
}

.header-cta .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    transition: all 0.3s ease;
}

.header-cta .social-link:hover {
    background: var(--color-gold);
    color: var(--color-black);
}

.header-cta .social-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-cta.btn-primary {
    background: var(--color-gold);
    color: var(--color-black);
    padding: 12px 28px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 0;
    text-shadow: none;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.nav-cta.btn-primary:hover {
    background: var(--color-white);
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.35);
}

.header.scrolled .nav-cta.btn-primary {
    box-shadow: 0 3px 12px rgba(184, 149, 63, 0.25);
}

.header.scrolled .nav-cta.btn-primary:hover {
    background: var(--color-black);
    color: var(--color-white);
}

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

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-fast);
}

.header.scrolled .menu-toggle span {
    background: var(--color-black);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--color-black);
    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;
    opacity: 0.75;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.7) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 30px;
}

.hero-tagline {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-gold);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    color: var(--color-white);
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--color-gold);
    display: block;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

.hero-buttons .btn-primary {
    background: var(--color-gold);
    color: var(--color-black);
}

.hero-buttons .btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.hero-buttons .btn-outline:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.2s;
}

.hero-scroll span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--color-gold);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    animation: scrollLine 1.5s ease infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 0; }
    100% { top: 100%; }
}

/* ===== Section Styles ===== */
.section {
    padding: var(--section-padding);
    position: relative;
}

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

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

.section-dark {
    background: var(--color-black);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.7);
}

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

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
}

.section-title {
    color: var(--color-black);
    margin-bottom: 20px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

/* Gold Divider */
.divider {
    width: 80px;
    height: 2px;
    background: var(--gradient-gold);
    margin: 30px auto;
}

/* ===== About Preview Section ===== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold);
    z-index: -1;
    transition: var(--transition-medium);
}

.about-image:hover::before {
    top: -30px;
    left: -30px;
}

.about-content .section-label {
    text-align: left;
}

.about-content h2 {
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

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

.stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    border: 1px solid var(--color-border);
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
    border-color: transparent;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    transition: var(--transition-medium);
}

.service-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--color-gold);
    fill: none;
    stroke-width: 1.5;
    transition: var(--transition-medium);
}

.service-card:hover .service-icon {
    background: var(--color-gold);
}

.service-card:hover .service-icon svg {
    stroke: var(--color-white);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--color-black);
}

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

.service-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.service-link svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-gold);
    transition: var(--transition-fast);
}

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

/* ===== Portfolio/Gallery Section ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

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

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

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

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

.portfolio-overlay h4 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition-medium);
}

.portfolio-overlay span {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: var(--transition-medium);
    transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay span {
    transform: translateY(0);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: var(--color-bg-alt);
}

.testimonials-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    text-align: center;
    padding: 0 60px;
}

.testimonial-quote {
    font-family: var(--font-primary);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--color-black);
    line-height: 1.8;
    margin-bottom: 40px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 6rem;
    color: var(--color-gold);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
    font-family: var(--font-primary);
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold);
}

.author-info h5 {
    color: var(--color-black);
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info span {
    color: var(--color-gold);
    font-size: 0.85rem;
}

/* Author Photo */
.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 2px solid var(--color-gold);
}

/* Stars Rating */
.stars-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
}

.stars-rating svg {
    width: 24px;
    height: 24px;
}

/* Widget-dark author styles */
.widget-dark .author-info h5 {
    color: var(--color-white);
}

.widget-dark .author-photo {
    border-color: var(--color-gold);
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-dot.active,
.testimonial-dot:hover {
    background: var(--color-gold);
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--color-black);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" stroke="%23c9a962" stroke-width="0.5" fill="none" opacity="0.1"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

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

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.7);
}

.cta-content .btn-primary {
    background: var(--color-gold);
    color: var(--color-black);
}

.cta-content .btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.cta-content .btn-outline:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* ===== Materials/Slabs Preview ===== */
.materials-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.material-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.material-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.material-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
}

.material-info h4 {
    color: var(--color-white);
    margin-bottom: 5px;
}

.material-info span {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Process Section ===== */
.process-section {
    background: var(--color-bg-alt);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--color-gold);
    opacity: 0.3;
}

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

.process-number {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--color-gold);
    background: var(--color-bg-alt);
    transition: var(--transition-medium);
}

.process-step:hover .process-number {
    background: var(--color-gold);
    color: var(--color-white);
}

.process-step h4 {
    color: var(--color-black);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.process-step p {
    font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-black);
    padding: 80px 0 30px;
}

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

.footer-brand .logo {
    margin-bottom: 25px;
}

.footer-brand .logo img {
    height: 130px;
    max-width: 340px;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--color-white);
    transition: var(--transition-fast);
}

.footer-social a:hover svg {
    fill: var(--color-black);
}

.footer-column h4 {
    color: var(--color-white);
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

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

.footer-contact svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

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

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger Animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-black);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-black);
}

.back-to-top:hover svg {
    stroke: var(--color-gold);
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    width: 120px;
    margin-bottom: 30px;
    animation: pulse 1.5s ease infinite;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: var(--gradient-gold);
    animation: preloaderSlide 1s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes preloaderSlide {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .portfolio-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

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

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

@media (max-width: 992px) {
    .about-preview {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        order: -1;
    }

    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .process-timeline::before {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 100%;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: var(--transition-medium);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
        color: var(--color-black);
        text-shadow: none;
    }

    /* Hide header CTA on mobile - show in menu toggle area */
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Responsive topper for tablet */
    .header-topper {
        height: 34px;
    }

    .header-topper a {
        font-size: 12px;
    }

    .header-topper .container {
        gap: 20px;
    }

    .header:not(.scrolled) {
        top: 34px;
    }

    /* Responsive header for tablet */
    .header {
        height: 140px;
    }

    .header.scrolled {
        height: 100px;
    }

    .logo img {
        height: 160px;
        max-height: 160px;
    }

    .header.scrolled .logo img {
        height: 120px;
        max-height: 120px;
    }

    .nav-cta.btn-primary {
        padding: 12px 28px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    /* Mobile topper - phone only */
    .header-topper {
        height: 32px;
        justify-content: center;
    }

    .header-topper .container {
        justify-content: center;
    }

    .header-topper .topper-email {
        display: none;
    }

    .header-topper a {
        font-size: 12px;
    }

    .header:not(.scrolled) {
        top: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .materials-showcase {
        grid-template-columns: 1fr;
    }

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

    .stat-number {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-content {
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .hero-scroll {
        bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Responsive header for mobile */
    .header {
        height: 110px;
    }

    .header.scrolled {
        height: 85px;
    }

    .logo img {
        height: 130px;
        max-height: 130px;
    }

    .header.scrolled .logo img {
        height: 100px;
        max-height: 100px;
    }

    .footer-brand .logo img {
        height: 100px;
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    /* Responsive header for small mobile */
    .header {
        height: 95px;
    }

    .header.scrolled {
        height: 70px;
    }

    .logo img {
        height: 110px;
        max-height: 110px;
    }

    .header.scrolled .logo img {
        height: 85px;
        max-height: 85px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .testimonial-slide {
        padding: 0 20px;
    }

    .service-card {
        padding: 40px 25px;
    }
}
