/* Tea Ceremony Website Styles */

:root {
    --primary-green: #6B2D2D;
    --light-green: #8B4A4A;
    --cream: #F5F1E8;
    --warm-white: #FFFEF9;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --gold-accent: #B8860B;
    --border-light: #E0DCD3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: var(--warm-white);
    color: var(--text-dark);
    line-height: 1.7;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 60px;
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.2);
}

nav.nav-dark .nav-links a {
    color: var(--text-dark);
}

nav.nav-dark .logo img {
    filter: none;
}

nav.nav-dark.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
}

.logo {
    text-decoration: none;
}

.logo img {
    height: 94px;
    width: auto;
    filter: invert(1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    flex: 1;
}

.nav-left {
    justify-content: flex-end;
    padding-right: 40px;
}

.nav-right {
    justify-content: flex-start;
    padding-left: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--warm-white);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/tea_hero_image1.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 165px;
}

.hero-content {
    max-width: 800px;
    padding: 0 40px;
}

.hero h1 {
    font-size: 56px;
    font-weight: normal;
    color: var(--warm-white);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-style: italic;
}

.hero .btn-primary {
    background-color: var(--warm-white);
    color: var(--primary-green);
    border-color: var(--warm-white);
}

.hero .btn-primary:hover {
    background-color: transparent;
    color: var(--warm-white);
}

.hero .btn-secondary {
    color: var(--warm-white);
    border-color: var(--warm-white);
}

.hero .btn-secondary:hover {
    background-color: var(--warm-white);
    color: var(--primary-green);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--warm-white);
    border: 2px solid var(--primary-green);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-green);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    margin-left: 20px;
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--warm-white);
}

.cta-section {
    padding: 100px 60px 0;
}

.cta-section .btn:hover {
    background-color: var(--warm-white);
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
    padding: 100px 60px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: normal;
    color: var(--primary-green);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Ceremony Cards */
.ceremonies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

a.ceremony-card {
    text-decoration: none;
    display: block;
}

.ceremony-card {
    background-color: var(--warm-white);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ceremony-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.ceremony-image {
    height: 250px;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden;
}

.ceremony-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ceremony-card:hover .ceremony-image img {
    transform: scale(1.05);
}

.ceremony-content {
    padding: 30px;
}

.ceremony-content h3 {
    font-size: 24px;
    font-weight: normal;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.ceremony-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.ceremony-details {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-light);
}

.ceremony-price {
    color: var(--gold-accent);
    font-weight: bold;
}

/* About Section */
.about-section {
    background-color: var(--cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: normal;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-image {
    height: 400px;
    background-color: var(--warm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    overflow: hidden;
    border-radius: 4px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Past Events Gallery */
.gallery-section {
    background-color: var(--cream);
}

.events-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background-color: var(--warm-white);
}

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

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

/* Booking Form */
.booking-section {
    background-color: var(--warm-white);
    padding-top: 220px;
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--cream);
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-light);
    background-color: var(--warm-white);
    font-family: inherit;
    font-size: 16px;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-group select {
    padding-right: 40px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Footer */
footer {
    background-color: var(--primary-green);
    color: var(--warm-white);
    padding: 32px 60px;
    text-align: center;
}

footer p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--warm-white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

/* Ceremony Detail Page */
.ceremony-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(45, 90, 61, 0.7), rgba(45, 90, 61, 0.6)),
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    padding-top: 165px;
    text-align: center;
}

.ceremony-hero h1 {
    color: var(--warm-white);
}

.ceremony-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.ceremony-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* Individual Ceremony Page Layout */
.ceremony-page-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 160px 60px 80px;
    align-items: start;
}

.ceremony-description {
    max-width: 100%;
}

.ceremony-description h2 {
    font-size: 36px;
    font-weight: normal;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.ceremony-description h3 {
    color: var(--primary-green);
    margin: 30px 0 15px;
    font-weight: normal;
}

.ceremony-description p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.ceremony-description ul {
    color: var(--text-light);
    margin: 20px 0;
    padding-left: 20px;
}

.ceremony-description li {
    margin-bottom: 10px;
}

/* About Page */
.about-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 160px 60px 80px;
}

.about-page-image {
    width: 100%;
    margin-bottom: 50px;
    border-radius: 4px;
    overflow: hidden;
}

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

.about-page-content {
    max-width: 100%;
}

@media (max-width: 768px) {
    .about-page {
        padding: 140px 20px 60px;
    }
}

.ceremony-sidebar {
    position: sticky;
    top: 120px;
}

.ceremony-sidebar .booking-form {
    margin: 0;
    padding: 20px;
}

@media (max-width: 1024px) {
    .ceremony-page-layout {
        grid-template-columns: 1fr;
        padding: 140px 20px 60px;
    }

    .ceremony-sidebar {
        position: static;
    }
}

.ceremony-detail-image {
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 4px;
}

.ceremony-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ceremony-images-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.ceremony-images-row .ceremony-detail-image {
    margin-bottom: 0;
}

.ceremony-images-row .ceremony-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ceremony-detail h2 {
    font-size: 32px;
    font-weight: normal;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.ceremony-detail p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.ceremony-info-box {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    padding: 25px 20px;
    margin: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(45, 90, 61, 0.15);
}

.info-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item span {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

.info-item strong {
    font-size: 16px;
    color: var(--warm-white);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    section {
        padding: 60px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .ceremonies-grid {
        grid-template-columns: 1fr;
    }

    .events-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

}
