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

body {
    font-family: 'EB Garamond', 'Playfair Display', serif;
    font-style: italic;
    background-color: #ede9d6;
    color: #2c2c2c;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

/* Header and Navigation */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #2c2c2c;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Main Content */
main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(237, 233, 214, 0.5) 0%, rgba(237, 233, 214, 0.8) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.main-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #2c2c2c;
    line-height: 1.2;
}

.tagline {
    font-size: 1.8rem;
    color: #555;
    font-style: italic;
}

/* Intro Section */
.intro {
    padding: 3rem 2rem;
}

.intro-text {
    font-size: 1.3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #3a3a3a;
}

/* Gallery Section */
.gallery {
    padding: 3rem 2rem 5rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c2c2c;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.frame-item {
    min-width: calc(100% / 3);
    flex: 0 0 calc(100% / 3);
    background: transparent;
    border: none;
    overflow: visible;
    padding: 0.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.frame-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border: none;
    border-radius: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: #2c2c2c;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background: #2c2c2c;
    transform: scale(1.2);
}

/* Support Section */
.support {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
}

.support-text {
    font-size: 1.3rem;
    color: #3a3a3a;
    line-height: 1.8;
}

.support-email {
    color: #2c2c2c;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.support-email:hover {
    opacity: 0.7;
}

/* Content Page (Privacy Policy) */
.content-page {
    padding: 3rem 2rem 5rem;
}

.page-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #2c2c2c;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.6);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.policy-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2c2c2c;
}

.policy-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #3a3a3a;
}

.policy-content ul,
.policy-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: #3a3a3a;
}

.policy-content li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.policy-content ul ul,
.policy-content ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.policy-content ol {
    counter-reset: item;
}

.policy-content ol > li {
    display: block;
    margin-bottom: 1rem;
}

.policy-content ol > li > ul {
    margin-top: 0.5rem;
}

.policy-content a {
    color: #2c2c2c;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.policy-content a:hover {
    opacity: 0.7;
}

.summary-list {
    list-style: none;
    margin-left: 0;
}

.summary-list li {
    margin-bottom: 1rem;
    padding-left: 0;
}

.last-updated {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

footer p {
    color: #666;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.4rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .support-text {
        font-size: 1.1rem;
    }

    .carousel-container {
        max-width: 95%;
        margin: 2rem auto;
    }

    .frame-item {
        min-width: calc(100% / 3);
        flex: 0 0 calc(100% / 3);
        padding: 0.3rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-btn-prev {
        left: -20px;
    }

    .carousel-btn-next {
        right: -20px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .policy-content {
        padding: 2rem 1.5rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .support {
        padding: 2rem 1rem;
    }

    .support-text {
        font-size: 1rem;
    }

    .carousel-container {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .frame-item {
        min-width: calc(100% / 3);
        flex: 0 0 calc(100% / 3);
        padding: 0.15rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.95);
    }

    .carousel-btn-prev {
        left: 2px;
    }

    .carousel-btn-next {
        right: 2px;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .intro {
        padding: 2rem 1rem;
    }

    .gallery {
        padding: 2rem 1rem 3rem;
    }

    .container {
        padding: 0 1rem;
    }
}

