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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #333;
}

/* Navigation Bar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
    background-color: #f5f5f5;
}

.nav-link.active {
    background-color: #BDA632;
    color: #fff;
}

/* Site Header */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

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

.logo {
    max-width: 250px;
    height: auto;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

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

/* Full Page Iframe Container */
.iframe-container {
    width: 100%;
    height: calc(100vh - 250px); /* Subtract navbar and header height */
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.full-page-iframe {
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
}

/* Hero Section (Home Page) */
.hero {
    min-height: 600px;
    background-image: url('/public/homeBackground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.hero-content {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-button {
    display: inline-block;
    background-color: #BDA632;
    color: #fff;
    text-decoration: none;
    padding: 1.25rem 2.5rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-button:hover {
    background-color: #6a5e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Page Title */
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .occasion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .occasion-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Package Card */
.package-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.package-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.package-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #BDA632;
    margin-bottom: 1rem;
}

.package-description {
    color: #666;
    line-height: 1.6;
}

/* Custom Consultation Section */
.custom-consultation {
    margin-top: 4rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.google-form {
    border-radius: 8px;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .photo-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1;
    background-color: #f5f5f5;
}

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

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal.show {
    display: block;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
}

/* About Page */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.profile-pic {
    float: left;
    width: 300px;
    height: auto;
    margin: 0 2rem 1rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bio-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.bio-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .logo {
        max-width: 200px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-button {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

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

    .profile-pic {
        float: none;
        display: block;
        margin: 0 auto 2rem;
        max-width: 100%;
    }

    .container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 1rem;
        gap: 1rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .hero-button {
        font-size: 0.9rem;
        padding: 0.875rem 1.5rem;
    }
}
