/* ==========================================
   VINTAGE ITALIAN HOME - CSS STYLES
   A Personal Story in Paola, Calabria
   ========================================== */

/* CSS Variables - Vintage Color Palette */
:root {
    /* Warm Vintage Colors */
    --primary-cream: #FBF6F0;
    --warm-white: #FAF8F5;
    --soft-gold: #D4AF37;
    --antique-gold: #B8860B;
    --deep-gold: #8B6914;
    
    /* Italian Earth Tones */
    --terracotta: #C65D07;
    --burnt-orange: #B8570A;
    --warm-brown: #8B4513;
    --olive-green: #6B8E23;
    --sage-green: #9CAF88;
    
    /* Mediterranean Blues */
    --coastal-blue: #4682B4;
    --deep-blue: #2F4F4F;
    --soft-blue: #E6F3FF;
    
    /* Neutral Tones */
    --charcoal: #2C2C2C;
    --warm-grey: #5D5D5D;
    --light-grey: #E8E6E3;
    --shadow-color: rgba(139, 69, 19, 0.1);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Crimson Text', serif;
    --font-modern: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --container-padding: 2rem;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--primary-cream);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--warm-grey);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-modern);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--soft-gold), var(--antique-gold));
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--antique-gold);
    border: 2px solid var(--antique-gold);
}

.btn-secondary:hover {
    background: var(--antique-gold);
    color: white;
    transform: translateY(-2px);
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.language-dropdown {
    position: relative;
}

.language-btn {
    background: rgba(251, 246, 240, 0.95);
    border: 2px solid var(--soft-gold);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: var(--font-modern);
    font-size: 0.9rem;
    color: var(--charcoal);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-btn:hover {
    background: var(--warm-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
    pointer-events: none;
    min-width: 150px;
    overflow: hidden;
}

.language-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.language-option {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.9rem;
    transition: var(--transition);
    border-bottom: 1px solid var(--light-grey);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--soft-gold);
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(44, 44, 44, 0.7) 0%,
        rgba(44, 44, 44, 0.4) 50%,
        rgba(212, 175, 55, 0.3) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.title-line-1 {
    display: block;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 400;
    opacity: 0;
    animation: slideInFromLeft 1s ease-out 0.5s forwards;
}

.title-line-2 {
    display: block;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--soft-gold);
    opacity: 0;
    animation: slideInFromRight 1s ease-out 1s forwards;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    animation: fadeIn 1s ease-out 1.5s both;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 0.9; }
}

.hero-price {
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 2s both;
}

.price-label {
    display: block;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.price-amount {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--soft-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 2.5s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 3s both;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
    margin: 0 auto 1rem;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% {
        opacity: 1;
        top: 8px;
    }
    50% {
        opacity: 0.5;
        top: 16px;
    }
    100% {
        opacity: 1;
        top: 8px;
    }
}

.scroll-text {
    font-size: 0.9rem;
    color: white;
    opacity: 0.8;
}

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

.section-title {
    text-align: center;
    color: var(--charcoal);
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--soft-gold), var(--antique-gold));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--warm-grey);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-style: italic;
}

/* Story Section */
.story-section {
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--primary-cream) 100%);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-intro {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--terracotta);
    margin-bottom: 2rem;
    border-left: 4px solid var(--soft-gold);
    padding-left: 2rem;
}

.story-paragraph {
    margin-bottom: 2.5rem;
}

.story-paragraph h3 {
    color: var(--terracotta);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.story-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: var(--transition);
    border: 1px solid var(--light-grey);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.highlight-card h4 {
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 1rem;
    margin: 0;
}

/* Gallery Section */
.gallery-section {
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

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

.gallery-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-description {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

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

.gallery-btn {
    background: var(--terracotta);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-btn:hover {
    background: var(--burnt-orange);
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, var(--primary-cream) 0%, var(--warm-white) 100%);
}

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

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: var(--transition);
    border: 1px solid var(--light-grey);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--soft-gold), var(--terracotta));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

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

.feature-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Location Section */
.location-section {
    background: var(--warm-white);
}

.location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-description h3 {
    color: var(--terracotta);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.location-highlights {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: var(--transition);
}

.location-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.location-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.location-item strong {
    color: var(--terracotta);
    display: block;
    margin-bottom: 0.25rem;
}

.location-item p {
    margin: 0;
    font-size: 0.95rem;
}

.location-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: var(--transition);
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--terracotta);
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

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

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--burnt-orange) 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-section .section-title {
    color: white;
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-section .section-title::after {
    background: white;
    margin: 1rem 0;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

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

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-link {
    color: var(--soft-gold);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: white;
    text-decoration: underline;
}

.contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--soft-gold);
    background: rgba(255, 255, 255, 0.2);
}

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

/* Footer */
.footer {
    background: var(--charcoal);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer h3 {
    color: var(--soft-gold);
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-price {
    color: var(--soft-gold);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.footer h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--soft-gold);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

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

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--border-radius);
}

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

.lightbox-close:hover {
    color: var(--soft-gold);
}

.lightbox-caption {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    font-size: 1.1rem;
}

.lightbox-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    backdrop-filter: blur(5px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--soft-gold);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px var(--shadow-color);
    z-index: 10001;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.3s ease;
    pointer-events: none;
}

.success-message.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--olive-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.success-message h3 {
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.success-message p {
    margin: 0;
    color: var(--warm-grey);
}

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

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .story-content,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-highlights {
        grid-template-columns: 1fr 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .story-highlights,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .language-switcher {
        top: 1rem;
        right: 1rem;
    }
    
    .location-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-price {
        margin-bottom: 2rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .location-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .hero,
    .language-switcher,
    .contact-form,
    .lightbox,
    .success-message {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.language-btn:focus,
.language-option:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--soft-gold);
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-grey);
}

::-webkit-scrollbar-thumb {
    background: var(--soft-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--antique-gold);
}