/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    width: 100%;
    height: 100vh;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

/* Landing Page */
.landing-page {
    background-image: url('uploads/backgrounds/Index.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.landing-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.landing-page .container {
    position: relative;
    z-index: 1;
}

.collagen-title {
    font-family: 'Playfair Display', serif;
    color: #ed1e79;
    font-size: 4.5rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    padding: 20px;
}

.center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.top-content {
    display: flex-end;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    margin-top: 50px;
}

.main-button {
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.gradient-button {
    background: linear-gradient(to right, #ff7eb3, #7ac5ff);
    color: white;
    font-weight: bold;
}

.gradient-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #ff7eb3, #7ac5ff, #ff7eb3);
    background-size: 200% 100%;
    opacity: 0.6;
    z-index: -1;
    transition: all 0.5s ease;
}

.main-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gradient-button:hover::before {
    opacity: 1;
    background-position: 100% 0;
}

/* Main Page */
.main-page {
    background-image: url('uploads/backgrounds/Main.jpg');
    background-size: contain;	
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.main-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    /*backdrop-filter: blur(2px);*/
    z-index: 0;
}

.main-page .container {
    position: relative;
    z-index: 1;
}

.main-title {
    font-size: 3.5rem;
    margin-top: 40px;
    margin-bottom: 30px;
}

.event-info {
    text-align: center;
    margin-bottom: 30px;
}

.event-date, .event-location, .event-time {
    color: #fff;
    font-size: 1.4rem;
    margin: 5px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    letter-spacing: 1px;
}

.event-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.event-description p {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.main-content {
    flex-grow: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-icon-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.home-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ed1e79;
    transition: all 0.3s ease;
}

.home-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: white;
}

.home-icon svg {
    width: 24px;
    height: 24px;
}

.bottom-navigation {
	position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    text-align: center;
	margin-top: flex;
    width: 90%;
    padding-bottom: 10px;
}

/* Audio Controls */
.audio-control {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.audio-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.audio-toggle:hover {
    background-color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.audio-icon {
    width: 24px;
    height: 24px;
    fill: #ed1e79;
}

/* Navigation */
.navigation {
    width: 100%;
    max-width: 330px;
    padding: 15px 0;
    background: linear-gradient(to right, rgba(255, 126, 179, 0.7), rgba(122, 197, 255, 0.7));
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.nav-button {
    padding: 12px 0;
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    width: 25%; /* Makes buttons take equal width */
    text-align: center;
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Popup Styles */
.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.popup {
    width: 90%;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #333;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(248, 248, 248, 0.7);
    border-bottom: 1px solid rgba(238, 238, 238, 0.8);
}

.popup-header h2 {
    font-size: 1.3rem;
    margin: 0;
    color: #333;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
}

.popup-content {
    padding: 20px;
}

/* Music Player Styles */
.music-player {
    background: linear-gradient(to bottom right, rgba(255, 240, 245, 0.7), rgba(240, 248, 255, 0.7));
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.song-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.song-cover {
    width: 80px;
    height: 80px;
    background-image: url('attached_assets/CD%20BG.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-right: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.song-details h3 {
    color: #ed1e79;
    margin: 0 0 8px 0;
}

.song-details p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.player-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.player-button {
    padding: 10px 20px;
    background: linear-gradient(to right, #ff7eb3, #7ac5ff);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    flex: 1;
    text-align: center;
    min-width: 100px;
}

.player-button:hover {
    background: linear-gradient(to right, #ff69b4, #5fb7ff);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.volume-control {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.volume-control label {
    margin-right: 10px;
    font-weight: bold;
    color: #555;
}

.volume-control input {
    flex: 1;
    accent-color: #ed1e79;
}

.playlist {
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 15px;
}

.playlist h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.playlist-item {
    padding: 8px 12px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.playlist-item:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.song-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.song-artist {
    font-size: 0.8rem;
    color: #777;
}

/* Products Styles */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-item {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.product-item h3 {
    color: #ed1e79;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-item p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.product-price {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.product-button {
    padding: 10px 20px;
    background: linear-gradient(to right, #ff7eb3, #7ac5ff);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    display: block;
    width: 100%;
    text-align: center;
}

.product-button:hover {
    background: linear-gradient(to right, #ff69b4, #5fb7ff);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* About Collagen Styles */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.benefit-item {
    background-color: #f9f3f7;
    border-left: 3px solid #ed1e79;
    padding: 12px 15px;
    border-radius: 5px;
    font-weight: bold;
    color: #444;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Map Styles */
.location-details {
    text-align: center;
}

.location-details p {
    margin: 5px 0;
}

.location-details strong {
    color: #ed1e79;
}

.map-container {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.map-button {
    padding: 12px 20px;
    background: linear-gradient(to right, #ff7eb3, #7ac5ff);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-button:hover {
    background: linear-gradient(to right, #ff69b4, #5fb7ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* RSVP Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-button {
    padding: 14px 28px;
    background: linear-gradient(to right, #ff7eb3, #7ac5ff);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.submit-button:hover {
    background: linear-gradient(to right, #ff69b4, #5fb7ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Gallery Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    overflow: hidden;
    margin: 0 auto;
    /* 4:3 aspect ratio for photos */
    aspect-ratio: 4/3;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.slideshow-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    z-index: 2;
}

.slideshow-control {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.2s ease;
}

.slideshow-control:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.slideshow-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

.auto-play-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.auto-play-label input {
    margin-right: 8px;
}

.slideshow-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(237, 30, 121, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #ed1e79;
    transform: scale(1.2);
}

/* Settings Styles */
.language-selection {
    text-align: center;
}

.language-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.language-button {
    padding: 10px 20px;
    background-color: #f5f5f5;
    color: #333;
    border: 2px solid #ed1e79;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.language-button:hover {
    background-color: #ed1e79;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(237, 30, 121, 0.3);
}

/* Responsive Styles */
@media (min-width: 1920px) {
    body {
        width: 100%;
        height: 1080px;
        margin: 0 auto;
        overflow-y: auto;
    }
    
    .slideshow-container {
        height: 450px;
        width: 600px;
        margin: 0 auto;
    }
    
    .collagen-title {
        font-size: 5.5rem;
    }
}

@media (max-width: 1024px) {
    body {
        height: 1024px;
        width: 768px;
    }
    
    .collagen-title {
        font-size: 4rem;
    }
    
    .navigation {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    body {
        width: 100%;
        height: auto;
    }
    
    .navigation {
        flex-wrap: wrap;
    }
    
    .nav-button {
        flex: 1 0 18%;
        font-size: 0.8rem;
        padding: 8px 5px;
        text-align: center;
    }
    
    .popup {
        width: 95%;
    }
    
    .slideshow-container {
        height: 300px;
    }
    
    .language-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    body {
        width: 100%;
        height: 800px;
    }
    
    .collagen-title {
        font-size: 2.8rem;
    }
    
    .nav-button {
        font-size: 0.7rem;
    }
    
    .popup-header h2 {
        font-size: 1.1rem;
    }
    
    .slideshow-container {
        height: 225px;
    }
}

@media (max-width: 360px) {
    body {
        width: 100%;
        height: 800px;
    }
    
    .collagen-title {
        font-size: 2.5rem;
    }
    
    .navigation {
        padding: 10px 0;
    }
    
    .nav-button {
        font-size: 0.65rem;
        padding: 8px 4px;
    }
    
    .slideshow-container {
        height: 200px;
    }
}