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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2161a2;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('gillyjang.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    margin: 0 0 1rem 0;
    letter-spacing: 3px;
}

.hero-divider {
    width: 100px;
    height: 2px;
    background-color: #2161a2;
    border: none;
    margin: 2rem auto;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    font-weight: 300;
}

.hero-date {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 400;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

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

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    font-weight: 300;
}

/* Our Story Section */
.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.story-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Details Section */
.details-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
}

.detail-card h3 {
    color: #2161a2;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.detail-card p {
    color: #555;
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* Registry Section */
.registry-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.registry-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.6;
}

.registry-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.registry-link {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s ease;
    width: 100%;
    max-width: 300px;
}
.registry-link_primary{
    color: white;
    background-color: #2161a2;
}

.registry-link_primary:hover {
    color: #2161a2;
    background-color: #fff;
    border: 1px solid #2161a2;
}
.registry-link_secondary{
    color: #2161a2;
    background-color: #fff;
    border: 1px solid #2161a2;
}

.registry-link_secondary:hover {
    color:#fff;
    background-color: #383838;
    border: 1px solid #000000;
}


/* FAQs Section */
.faqs-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    color: #2161a2;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.faq-answer {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Photos Section */
.photos-content {
    max-width: 1200px;
    margin: 0 auto;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.photo-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 1;
}

.photo-item:hover {
    transform: translateY(-5px);
}

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

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

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

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

.photo-overlay p {
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.contact-item_blue {
    color: #2161a2;
}
.contact-item_green {
    color: #21a246;
}


.contact-item p {
    color: #555;
    margin: 0.5rem 0;
}

.contact-note {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0;
    font-size: 1.1rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 1rem;
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }

    /* Hamburger animation */
    .bar.active:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .bar.active:nth-child(2) {
        opacity: 0;
    }

    .bar.active:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Responsive Design */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-date {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

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


    .contact-info {
        grid-template-columns: 1fr;
    }

    .photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .photo-overlay {
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.7);
        padding: 1rem;
    }

    .photo-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 1rem;
    }

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

    .photo-item {
        aspect-ratio: 4/3;
    }
}
