/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f5f5f5;
    --accent-color: #c9a961;
    --text-color: #333;
    --text-light: #666;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Skip to main content for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Language Navigation */
.language-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.desktop-lang {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.mobile-lang {
    display: none;
}

.lang-btn {
    background: transparent;
    border: 2px solid transparent;
    color: var(--text-color);
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.lang-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.lang-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Mobile Hamburger Menu */
.hamburger-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    gap: 4px;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 1px;
}

.hamburger-btn:hover {
    transform: scale(1.05);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-lang-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.mobile-lang-menu.open {
    display: flex;
}

.mobile-lang-menu .lang-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
}

/* Header */
.header {
    padding: 40px 20px;
    text-align: center;
    animation: fadeInDown 1s ease;
}

.logo-container {
    display: inline-block;
}

.logo {
    max-width: 200px;
    height: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 1.5s ease;
}

.main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Carousel Section */
.carousel-section {
    margin: 80px auto;
    position: relative;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 70vh;
}

/* Carousel Buttons */
.carousel-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.indicator:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-color);
}

.indicator:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

/* Message Section */
.message-section {
    text-align: center;
    padding: 60px 20px;
    animation: fadeIn 2s ease;
}

.message {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.image-copyright {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 10px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-lang {
        display: none;
    }

    .mobile-lang {
        display: block;
    }

    .language-nav {
        top: 10px;
        right: 10px;
    }

    .header {
        padding: 30px 15px;
    }

    .logo {
        max-width: 150px;
    }

    .hero-section {
        padding: 40px 15px;
    }

    .carousel-container {
        flex-direction: column;
        gap: 15px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }

    .carousel-btn.prev,
    .carousel-btn.next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-wrapper {
        width: 100%;
    }

    .carousel-slide img {
        max-height: 50vh;
    }

    .message-section {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* High Contrast Mode for Accessibility */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --text-color: #000;
        --accent-color: #8b6914;
    }

    .carousel-btn,
    .lang-btn {
        border: 2px solid var(--primary-color);
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .language-nav,
    .carousel-btn,
    .carousel-indicators {
        display: none;
    }

    body {
        background: white;
    }
}
