/* 
 * BKS Vitre - Bespoke Premium Design System 
 * Theme: Sophisticated Luxury with Gold Accents
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors - Bespoke Premium Palette */
    --bg-dark: #0a0e1a;
    --bg-darker: #050711;
    --bg-layer: #121827;
    --primary: #d4a574;
    /* Champagne Gold */
    --primary-dark: #b8935f;
    --primary-glow: rgba(212, 165, 116, 0.3);
    --accent: #6366f1;
    /* Royal Indigo */
    --accent-light: #818cf8;
    --text-main: #fafbfc;
    --text-muted: #a1a8b8;
    --text-dim: #6b7280;
    --glass-border: rgba(212, 165, 116, 0.15);
    --glass-bg: rgba(18, 24, 39, 0.7);
    --glass-highlight: rgba(255, 255, 255, 0.03);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    --header-height: 80px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-darker);
    background-image:
        linear-gradient(rgba(212, 165, 116, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 165, 116, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height);
}

/* Smooth scrolling offset for anchor links */
html {
    scroll-padding-top: var(--header-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
.btn:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.nav-links a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .orb {
        animation: none;
    }
}

/* Performance optimizations */
.hero-slider,
.slide,
.orb {
    will-change: transform, opacity;
}

.glass-card,
.btn {
    will-change: transform;
}

/* Ambient Background */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    animation-delay: 0s;
    opacity: 0.25;
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    animation-delay: -5s;
    opacity: 0.3;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, var(--accent-light), transparent 70%);
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-glass-panel {
    max-width: 680px;
    text-align: left;
    margin-left: 0;
}

.hero-glass-panel h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.2s forwards;
}

.hero-glass-panel h1 .highlight {
    color: var(--primary);
    font-size: 4.5rem;
    display: block;
    font-weight: 800;
}

.hero-glass-panel p {
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.5s forwards;
}

.hero-btns {
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.8s forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-glass-panel p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-glass-panel strong {
    color: var(--primary);
    font-weight: 600;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px var(--primary-glow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #0a0e1a;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #0a0e1a;
}

/* Scroll Animations */
.reveal {
    opacity: 1;
    /* Visible by default to prevent issues */
    transform: none;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.1);
    transition: opacity 2s ease-in-out, filter 2s ease-in-out, transform 8s ease-out;
}

.slide.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 7, 17, 0.6), rgba(5, 7, 17, 0.8));
    backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.menu-btn.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Prevent body scroll when mobile menu is open */
body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Glass Shutters */
.glass-shutters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 10;
    pointer-events: none;
}

.shutter {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.shutter:last-child {
    border-right: none;
}

.shutter.closing {
    transform: translateY(0);
}

.shutter.opening {
    transform: translateY(-100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    min-width: 600px;
}

/* Responsive Embeds */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Map container responsive */
.map-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.glass-card:hover .icon-box {
    background: var(--primary);
    color: var(--bg-darker);
    transform: scale(1.1) rotate(5deg);
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 26, 0.8), transparent);
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-features i {
    color: var(--primary);
}

/* Contact Section */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(5, 7, 17, 0.85), rgba(5, 7, 17, 0.85)), url(https://images.unsplash.com/photo-1579546929518-9e396f3cc809?q=80&w=1920) center/cover no-repeat;
    z-index: 0;
}

.contact-section::after {
    display: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 17, 0.85);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

#contact {
    position: relative;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.contact-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 17, 0.85);
}

#contact .container {
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding: 4rem;
    border-radius: 24px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-main);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 7, 17, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: rgba(5, 7, 17, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Footer */
.main-footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    background: var(--bg-darker);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col p,
.footer-col a {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Media Queries */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 968px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        height: 350px;
        order: -1;
    }
    
    .about-content h2 {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    /* Header */
    .main-header {
        padding: 1rem 0;
    }
    
    .nav-container {
        position: relative;
    }
    
    .menu-btn {
        display: flex;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    .bar {
        width: 25px;
        height: 3px;
        background: var(--text-main);
        margin: 3px 0;
        transition: var(--transition-smooth);
        border-radius: 2px;
    }
    
    .menu-btn.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-btn.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 7, 17, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .phone-link {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    body.no-scroll {
        overflow: hidden;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-glass-panel h1 {
        font-size: 2.75rem;
    }
    
    .hero-glass-panel h1 .highlight {
        font-size: 3.25rem;
    }
    
    .hero-glass-panel p {
        font-size: 1rem;
    }
    
    .hero-glass-panel p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .glass-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    /* Section headers */
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Contact */
    .contact-wrapper {
        padding: 2rem;
        gap: 2rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-details {
        gap: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-item i {
        margin: 0 auto;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-col p,
    .footer-col a {
        justify-content: flex-start;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .section-padding {
        padding: 2.5rem 0;
    }
    
    /* Hero */
    .hero {
        min-height: 60vh;
    }
    
    .hero-glass-panel h1 {
        font-size: 2.25rem;
    }
    
    .hero-glass-panel h1 .highlight {
        font-size: 2.75rem;
    }
    
    .hero-glass-panel p {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .hero-glass-panel p {
        font-size: 0.9rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.8rem;
    }
    
    /* Services */
    .glass-card {
        padding: 1.25rem;
    }
    
    .glass-card h3 {
        font-size: 1.25rem;
    }
    
    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* About */
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-image {
        height: 300px;
    }
    
    /* Contact */
    .contact-wrapper {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Section headers */
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    /* Orbs - reduce size on mobile */
    .orb-1 {
        width: 80vw;
        height: 80vw;
    }
    
    .orb-2 {
        width: 90vw;
        height: 90vw;
    }
    
    .orb-3 {
        width: 60vw;
        height: 60vw;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-glass-panel h1 {
        font-size: 1.85rem;
    }
    
    .hero-glass-panel h1 .highlight {
        font-size: 2.25rem;
    }
    
    .hero-glass-panel p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.75rem;
    }
    
    .glass-card {
        padding: 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .glass-card:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .nav-links a:not(.btn):hover::after {
        width: 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .orb {
        filter: blur(60px);
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-glass-panel {
        padding: 2rem;
    }
    
    .hero-glass-panel h1 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
}

/* Print styles */
@media print {
    .ambient-bg,
    .orb,
    .glass-shutters,
    .menu-btn {
        display: none !important;
    }
    
    .main-header {
        position: static;
        background: white;
        color: black;
    }
    
    body {
        padding-top: 0;
        background: white;
        color: black;
    }
    
    .glass-card,
    .glass-panel {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}