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

:root {
    --primary-color: #00a7b5;
    --secondary-color: #ff6b6b;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-date {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background: #008997;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 167, 181, 0.3);
}

/* Section Common Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--white);
}

.about-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.instagram-link {
    text-align: center;
    margin-top: 2rem;
}

.instagram-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.instagram-link a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Organizer Message Section */
.organizer-message {
    background: var(--white);
}

.organizer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.organizer-image {
    flex-shrink: 0;
}

.organizer-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.organizer-text {
    flex: 1;
}

.organizer-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-light);
}

/* Gallery Section */
.gallery {
    background: var(--bg-light);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Details Section */
.details {
    background: var(--white);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.detail-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.detail-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.detail-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.price-note {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.price-highlight {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 2px solid var(--secondary-color);
}

.main-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0.5rem 0;
    line-height: 1.2;
}

.tax-label {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.sub-price {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0.3rem 0 0.5rem 0;
}

.price-includes {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0.3rem 0;
}

.price-hotel-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0.3rem 0 0.8rem 0;
    line-height: 1.5;
}

/* Notes Section */
.notes {
    background: var(--bg-light);
}

.notes-content {
    max-width: 900px;
    margin: 0 auto;
}

.notes-list {
    list-style: none;
}

.notes-list li {
    background: var(--white);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.notes-list li strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Payment Section */
.payment {
    background: var(--white);
}

.payment-info {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.payment-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.bank-info {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.bank-info p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.payment-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Form Section */
.form-section {
    background: var(--bg-light);
}

.application-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--secondary-color);
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 167, 181, 0.1);
}

.form-note {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.submit-button:hover {
    background: #008997;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-button:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    margin-bottom: 10px;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #00d4e4;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        height: 80vh;
    }

    .application-form {
        padding: 30px 20px;
    }

    .payment-info {
        padding: 30px 20px;
    }

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

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

    .organizer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
