/* Portfolio Showcase - Design Specifications from Document */
/* Colors: black, orange, white - Harley Davidson style */
/* Font: Helvetica Neue */
/* Simple navigation, rolling gallery, dark background */

/* ===== CSS VARIABLES ===== */
:root {
    /* Color palette: black, orange, white (Harley Davidson tones) */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #1a1a1a;
    --bg-card: #141414;
    
    /* Harley Davidson orange - classic #FF6600 or similar */
    --accent-orange: #FF6600;
    --accent-orange-dark: #CC5200;
    --accent-orange-light: #FF8533;
    
    /* White and grays */
    --color-white: #ffffff;
    --color-light-gray: #e5e5e5;
    --color-mid-gray: #808080;
    --color-dark-gray: #333333;
    
    /* Primary accent (orange) */
    --accent-primary: var(--accent-orange);
    --accent-glow: rgba(255, 102, 0, 0.3);
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #e5e5e5;
    --text-muted: #808080;
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-orange: rgba(255, 102, 0, 0.3);
    
    /* Shadows */
    --shadow-glow: 0 0 30px rgba(255, 102, 0, 0.2);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.8);
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    --card-padding: 2rem;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 400;
    position: relative;
}

/* Prevent scroll during loading */
body.loading {
    overflow: hidden;
}

/* ===== LOADING SCREEN ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

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

.loader-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.5));
}

.loader-progress-bar {
    width: 300px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-orange-light) 100%);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

.loader-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Ensure content is above background effects */
body > *:not(#interactive-bg):not(.page-loader) {
    position: relative;
    z-index: 10;
}

/* Gallery items need higher z-index for clickability */
.gallery-item {
    z-index: 100 !important;
    position: relative;
}

/* Geometric background pattern - subtle */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 74%, rgba(255, 102, 0, 0.02) 75%, rgba(255, 102, 0, 0.02) 76%, transparent 77%),
        linear-gradient(225deg, transparent 74%, rgba(255, 102, 0, 0.02) 75%, rgba(255, 102, 0, 0.02) 76%, transparent 77%);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
}

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

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

a:hover {
    color: var(--accent-orange-light);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

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

.nav-logo-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.nav-logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

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

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 2rem 80px; /* Reduced top padding from 120px */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 102, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 102, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Angular decorative shapes */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 102, 0, 0.02) 60deg, transparent 120deg);
    animation: rotate-slow 60s linear infinite;
    pointer-events: none;
}

@keyframes rotate-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-logo {
    width: 280px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 30px rgba(255, 102, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 3rem;
}

/* Portfolio keywords */
.hero-services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.service-keyword {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.service-keyword:nth-child(1) { animation-delay: 0.2s; }
.service-keyword:nth-child(2) { animation-delay: 0.4s; }
.service-keyword:nth-child(3) { animation-delay: 0.6s; }
.service-keyword:nth-child(4) { animation-delay: 0.8s; }
.service-keyword:nth-child(5) { animation-delay: 1s; }

.service-keyword.highlight {
    color: var(--accent-orange);
    text-shadow: 0 0 15px var(--accent-glow);
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
    border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
    background: var(--accent-orange-dark);
    border-color: var(--accent-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.5);
    color: var(--color-white);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

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

/* ===== SECTIONS ===== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

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

/* Section divider */
.section-divider {
    width: 100px;
    height: 3px;
    background: var(--accent-orange);
    margin: 1.5rem auto 0;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: var(--card-padding);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover {
    border-color: var(--border-orange);
}

/* Interactive cards (smaller cards that should lift on hover) */
.card.card-interactive:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-orange);
}

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

/* Disable tilt/rotation on contact form card */
.card.contact-form-card {
    transform: none !important;
    perspective: none !important;
    will-change: auto !important;
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.card-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Service cards grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.services-grid .card {
    flex: 0 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    max-width: 400px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-label .required {
    color: var(--accent-orange);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
}

.form-input.success,
.form-textarea.success,
.form-select.success {
    border-color: #61d836;
    box-shadow: 0 0 0 3px rgba(97, 216, 54, 0.2);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a8b4c4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-orange);
    cursor: pointer;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Gallery Filter Buttons */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

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

.filter-btn.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--color-white);
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    z-index: 1;
}

.gallery-item img {
    pointer-events: none;
    user-select: none;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

.gallery-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-orange);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-badge img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-badge img:hover {
    opacity: 1;
}

/* ===== SOCIAL MEDIA LINKS ===== */
.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Social links in footer */
.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-social-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Social links in contact info */
.contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.contact-social h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-social .social-links {
    gap: 0.75rem;
}

.contact-social .social-link {
    width: 48px;
    height: 48px;
}

.contact-social .social-link svg {
    width: 22px;
    height: 22px;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-details p,
.contact-details a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-gradient {
    color: var(--accent-orange);
    text-shadow: 0 0 15px var(--accent-glow);
}
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible,
.fade-in.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Advanced animation classes */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(255, 102, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    position: relative;
    z-index: 1;
}

.page-header p {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }
    
    .two-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --card-padding: 1.5rem;
    }
    
    /* Improve mobile typography */
    h1 {
        font-size: clamp(2rem, 8vw, 2.5rem); /* Slightly smaller on mobile */
    }
    
    h2 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background-color: #000000; /* Solid black for better readability */
        flex-direction: column;
        padding: 8rem 2rem 2rem; /* Increased top padding */
        gap: 2.5rem;
        border-bottom: none;
        align-items: center;
        justify-content: flex-start;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .nav-links.active {
        display: flex;
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--color-white);
    }
    
    /* Ensure toggle stays on top of the menu */
    .nav-toggle {
        display: flex;
        padding: 0.75rem;
        position: relative;
        z-index: 1001; 
    }
    
    /* Animate toggle to X when active */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Ensure logo stays on top too */
    .nav-logo {
        position: relative;
        z-index: 1001;
    }
    
    .hero {
        padding: 80px 1.5rem 60px;
        min-height: auto; /* Allow content to dictate height on small screens */
        padding-top: 80px; /* Reduced further from 100px to move content up */
    }
    
    .hero-logo {
        width: 180px; /* Increased from 100px for mobile */
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid .card {
        max-width: 100%; /* Full width cards */
    }
    
    /* Optimize gallery grid for mobile */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Allow 2 columns on larger phones */
        gap: 10px; /* Tighter gap */
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem; /* Slightly smaller padding */
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* 1 column for very small screens if needed, but 160px minmax usually works for 2col */
    .gallery-grid {
         grid-template-columns: 1fr; /* Force 1 column on very small screens for better detail */
    }
}

/* ===== FEATURES GRID (Why Choose Us) ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: 50%;
    color: var(--accent-orange);
    border: 1px solid var(--border-subtle);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-family: serif;
    font-size: 4rem;
    color: var(--accent-orange);
    opacity: 0.2;
    position: absolute;
    top: -2rem;
    left: -1rem;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* ===== HERO TYPING EFFECT ===== */
.hero-typing-container {
    height: 3rem; /* Fixed height to prevent layout shift */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.typing-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 15px var(--accent-glow);
}

.typing-cursor {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--text-primary);
    font-weight: 100;
    animation: blink 1s step-end infinite;
    margin-left: 5px;
}

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

/* ===== VIDEO SHOWCASE ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-orange);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.15);
}

.video-placeholder {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-placeholder::before {
    opacity: 1;
}

.video-icon {
    font-size: 4rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.video-card:hover .video-icon {
    transform: scale(1.2);
    color: var(--accent-orange-light);
}

.video-placeholder p {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 1;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.video-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Image wrapper for blur-up effect */
.image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-card) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Page transition overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

/* ===== PRINT STYLES ===== */
@media print {
    .nav, .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ===== GALLERY PAGE STYLES ===== */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.gallery-info {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
    box-shadow: 0 10px 40px rgba(255, 102, 0, 0.2);
}

/* ===== LIGHTBOX STYLES ===== */
.lightbox {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh; /* Better mobile support */
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    visibility: hidden;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex !important;
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    max-height: 90dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    margin: auto; /* Extra insurance for centering */
}

.lightbox-content > * {
    pointer-events: all;
}

.lightbox-loader {
    display: none;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-orange);
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    max-height: 85dvh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 36, 51, 0.8);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    z-index: 10;
}

.lightbox-nav:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .lightbox-nav {
        padding: 0.75rem 1rem;
        font-size: 1.2rem;
        background: rgba(0, 0, 0, 0.5); /* More transparent on mobile */
    }
    
    .lightbox-prev {
        left: 0; /* Align to edge */
        border-radius: 0 4px 4px 0;
    }
    
    .lightbox-next {
        right: 0; /* Align to edge */
        border-radius: 4px 0 0 4px;
    }
    
    .lightbox-close {
        top: -40px;
        right: 0;
        font-size: 2rem;
    }

    .lightbox-content img {
        max-height: 80dvh; /* More space on mobile */
    }
}
