
/* ======= GENERAL STYLES ======= */
:root {
    --primary-color: #e83e8c;
    --primary-color-dark: #d2246f;
    --secondary-color: #6c5ce7;
    --secondary-color-light: #a29bfe;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-color: #212529;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.section-heading:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.8rem auto 0;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider:before,
.divider:after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 1rem;
}

/* ======= NAVIGATION ======= */
.navbar {
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* ======= HERO SECTION ======= */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-section h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.countdown-item {
    margin: 0 1rem;
    text-align: center;
    min-width: 80px;
}

.countdown-item span:first-child {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 1rem 0.5rem;
}

.countdown-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* ======= PAGE HEADERS ======= */
.page-header {
    padding: 8rem 0 4rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ======= COUPLE SECTION ======= */
.couple-intro {
    text-align: left;
}

.couple-image img {
    width: 100%;
    height: auto;
}

.person-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #e9ecef;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 3rem;
}

.timeline-point {
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* ======= EVENTS SECTION ======= */
.event-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-details {
    color: #6c757d;
    font-size: 0.9rem;
}

.event-timeline-content {
    padding: 2rem;
}

.event-time {
    font-size: 0.9rem;
}

.wedding-day-schedule {
    background-color: var(--light-gray);
    padding: 3rem 0;
    border-radius: 10px;
}

/* ======= GALLERY SECTION ======= */
.gallery-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.gallery-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-top-left-radius: 5px;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.photo-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.photo-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-card:hover .photo-image img {
    transform: scale(1.05);
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

/* ======= GUESTBOOK SECTION ======= */
.guestbook-entry {
    transition: all 0.3s ease;
}

.guestbook-entry:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* ======= RSVP SECTION ======= */
.rsvp-banner {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ======= FOOTER ======= */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
}

.footer a {
    color: var(--white);
    text-decoration: none;
}

.footer a:hover {
    color: var(--primary-color);
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ======= ADMIN STYLES ======= */
.admin-page {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-content {
    flex: 1 0 auto;
    padding-bottom: 3rem;
}

.admin-sidebar {
    margin-bottom: 2rem;
}

.admin-main-content {
    margin-bottom: 2rem;
}

.admin-footer {
    margin-top: auto;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.timeline-preview .timeline:before {
    left: 20px;
    transform: none;
}

.timeline-preview .timeline-item {
    padding-left: 60px;
}

.timeline-preview .timeline-point {
    left: 20px;
    transform: none;
}