/* 
   Navin Enterprises - Premium Design System (Redesign)
   Aesthetic: Premium Industrial / Metallic Obsidian & Gold
*/

:root {
    /* Base Color Tokens */
    --bg-main: #060709;
    --bg-surface: #0e1115;
    --bg-card: #151921;
    --bg-card-hover: #1c222e;
    
    /* Text Colors */
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Accents & Metals */
    --accent-gold: #d4af37;
    --accent-gold-rgb: 212, 175, 55;
    --accent-gold-glow: rgba(212, 175, 55, 0.15);
    --accent-silver: #e5e7eb;
    --accent-silver-rgb: 229, 231, 235;
    --accent-silver-glow: rgba(229, 231, 235, 0.1);
    
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-active: rgba(212, 175, 55, 0.4);
    
    /* Font families */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Dimensions */
    --navbar-height: 80px;
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
}

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

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

/* Typography & Global Components */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

p.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 40px;
}

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

.text-gold {
    color: var(--accent-gold);
    background: linear-gradient(135deg, #ffe066, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid & Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section-padding {
    padding: 100px 0;
}

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

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Buttons */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.btn-accent {
    background: linear-gradient(135deg, #ffe066, var(--accent-gold));
    color: #060709;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #fff, #ffe066);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-silver);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-dark:hover {
    border-color: var(--accent-gold);
    background: var(--bg-card);
    transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: rgba(6, 7, 9, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: background-color var(--transition-speed), height var(--transition-speed);
}

.navbar.scrolled {
    background-color: rgba(6, 7, 9, 0.95);
    height: 70px;
}

.navbar .nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar .logo-img {
    height: 64px;
    width: auto;
    transition: height var(--transition-speed);
}

.navbar.scrolled .logo-img {
    height: 52px;
}

.navbar .logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

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

.navbar .nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

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

.navbar .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-speed);
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--navbar-height);
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 50%, rgba(6, 7, 9, 0.4), rgba(6, 7, 9, 0.95)),
                linear-gradient(to top, var(--bg-main) 0%, rgba(6, 7, 9, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--accent-gold);
}

.hero-title {
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* GENERAL INNER HEADER FOR PAGES */
.page-header {
    position: relative;
    padding: 160px 0 80px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(6, 7, 9, 0.85) 0%, var(--bg-main) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* DYNAMIC CATALOG CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.catalog-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1),
                border-color var(--transition-speed),
                box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.08);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

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

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    gap: 12px;
}

.card-footer .btn-pill {
    padding: 10px 20px;
    font-size: 0.8rem;
    flex-grow: 1;
}

/* ABOUT SECTION & BLOCKS */
.about-block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-block {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.about-block:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.about-block h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

.about-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-legacy {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 80px;
}

.about-legacy-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-legacy-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.about-legacy-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
    border: 1px solid var(--border-subtle);
}

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

/* INTERACTIVE PLATING VISUALIZER */
.visualizer-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-top: 60px;
}

.visualizer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.visualizer-viewport {
    position: relative;
    height: 350px;
    background: radial-gradient(circle, #1a2230 0%, #060709 100%);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.visualizer-substrate {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #8e9094, #2a2c2e);
    box-shadow: inset -10px -10px 30px rgba(0, 0, 0, 0.8),
                10px 10px 40px rgba(0, 0, 0, 0.6);
    transition: background 0.5s ease;
}

.visualizer-coating {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    opacity: 0;
    mix-blend-mode: color;
    background: transparent;
    transition: opacity 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
    z-index: 2;
}

.visualizer-highlight {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: overlay;
    transition: opacity 0.5s ease;
}

.visualizer-reflection-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 4;
}

.visualizer-viewport:hover .visualizer-reflection-sweep {
    animation: sweep 1.5s forwards;
}

@keyframes sweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

.visualizer-controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.control-group h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.option-selector {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.option-pill {
    padding: 8px 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.option-pill:hover {
    border-color: var(--accent-gold);
}

.option-pill.active {
    background: var(--accent-gold);
    color: #060709;
    border-color: var(--accent-gold);
}

.thickness-slider-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.thickness-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: #1f2937;
    outline: none;
}

.thickness-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    transition: transform 0.1s;
}

.thickness-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.visualizer-desc {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    padding: 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.visualizer-desc span {
    font-weight: 600;
    color: var(--text-primary);
}

/* DETAILS PAGE SPECIFICS */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: flex-start;
    margin-top: 40px;
}

.detail-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    height: 450px;
}

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

.detail-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

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

.detail-question-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--accent-gold);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 40px;
}

.detail-question-box h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.detail-question-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* GALLERY PAGE */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 240px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: transform var(--transition-speed) ease;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(6, 7, 9, 0.9) 0%, rgba(6, 7, 9, 0) 100%);
    opacity: 0;
    transition: opacity var(--transition-speed);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    z-index: 2;
}

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

.gallery-overlay span {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    transform: translateY(10px);
    transition: transform var(--transition-speed);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* LIGHTBOX MODAL */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 7, 9, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color var(--transition-speed);
}

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

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 12px;
    border-radius: 50%;
}

.contact-card-content h4 {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.contact-card-content p,
.contact-card-content a {
    font-size: 1.05rem;
    color: var(--text-primary);
}

.contact-form-wrapper {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-input {
    width: 100%;
    background-color: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-speed);
}

.form-input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.form-input.error {
    border-color: #ef4444;
}

.error-text {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-input.error + .error-text {
    display: block;
}

/* LOGIN PAGE */
.login-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 400px;
    width: 100%;
}

.login-card h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    text-align: center;
}

/* FOOTER */
footer {
    background-color: #040506;
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border-subtle);
    margin-top: 100px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    max-width: 320px;
}

.footer-about .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-about .logo-img {
    height: 40px;
}

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

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

.footer-links-col h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

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

.footer-links-col a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* TOAST NOTIFICATION */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--accent-gold);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 3000;
    display: none;
    transform: translateY(100px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    display: block;
    transform: translateY(0);
}

.toast.error {
    border-color: #ef4444;
}

/* LOADING SPINNER */
.loader-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    width: 100%;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #1f2937;
    border-radius: 50%;
    display: inline-block;
    border-top-color: var(--accent-gold);
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation utilities */
.reveal-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards ease;
}

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

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
    .about-legacy {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-legacy-image {
        height: 300px;
    }
    
    .visualizer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .detail-img {
        height: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
    }
    
    .navbar {
        height: 70px;
    }

    .navbar .logo-img {
        height: 48px;
    }

    .navbar .logo-text {
        font-size: 1.05rem;
    }

    .mobile-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navbar .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(6, 7, 9, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        padding: 36px 24px;
        transition: left var(--transition-speed) ease;
        border-top: 1px solid var(--border-subtle);
        overflow-y: auto;
        z-index: 999;
    }
    
    .navbar .nav-links.active {
        left: 0;
    }
    
    .navbar .nav-links li {
        width: 100%;
        text-align: center;
    }

    .navbar .nav-links a {
        font-size: 1.25rem;
        display: block;
        padding: 12px 24px;
        width: 100%;
    }
    
    .navbar .nav-actions {
        display: none;
    }

    .mobile-nav-cta {
        display: block !important;
        width: 100%;
        max-width: 280px;
        margin-top: 12px;
    }

    .mobile-nav-cta a {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem !important;
    }
    
    .footer-links-wrap {
        gap: 40px;
    }

    /* Horizontal swipeable pill categories on mobile */
    .option-selector,
    .gallery-filter {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4px 16px 12px 16px;
        margin: 0 -16px 24px -16px;
        justify-content: flex-start !important;
        scrollbar-width: none;
    }

    .option-selector::-webkit-scrollbar,
    .gallery-filter::-webkit-scrollbar {
        display: none;
    }

    .option-pill {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.82rem;
        padding: 8px 16px;
    }

    .form-input, .form-textarea, select {
        font-size: 16px !important; /* Prevents auto zoom on iOS */
    }
}

@media (min-width: 769px) {
    .mobile-nav-cta {
        display: none !important;
    }
}

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

    .section-padding {
        padding: 50px 0;
    }

    .page-header {
        padding: 95px 0 45px 0;
    }

    .page-header h1 {
        font-size: 1.85rem;
    }

    .page-header p {
        font-size: 0.92rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .catalog-card {
        border-radius: 12px;
    }

    .card-img-wrapper {
        height: 200px;
    }

    .card-content {
        padding: 20px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .card-footer {
        display: flex;
        gap: 10px;
        margin-top: 16px;
    }

    .card-footer .btn-pill {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .hero {
        min-height: calc(100vh - 70px);
        padding: 90px 0 50px 0;
    }

    .hero h1 {
        font-size: 2.1rem;
        line-height: 1.25;
    }

    .hero p {
        font-size: 0.98rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-actions .btn-pill {
        width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 150px;
        gap: 10px;
    }

    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(6, 7, 9, 0.85) 0%, transparent 60%);
        padding: 10px;
    }

    .gallery-overlay span {
        font-size: 0.8rem;
        transform: none;
    }

    .about-block-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .footer-links-wrap {
        flex-direction: column;
        gap: 30px;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
    background-color: #20ba5a;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* Map Overlay Styles */
.map-overlay:hover {
    background-color: rgba(6, 7, 9, 0.4) !important;
}

.map-overlay:hover span {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
