/* ====================================
   Azura Wedding - Custom CSS
   ==================================== */

:root {
    --gold: #D4AF37;
    --charcoal: #1a1a1a;
    --cream: #fafaf8;
    --secondary: #999;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Poppins', sans-serif;
    color: var(--charcoal);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Navbar Styles */
#mainNavbar {
    background-color: rgba(26, 26, 26, 0);
    border-bottom: 1px solid rgba(212, 175, 55, 0);
    transition: all 0.3s ease;
    padding: 20px 0;
}

#mainNavbar.scrolled {
    background-color: rgba(26, 26, 26, 0.98);
    border-bottom: 2px solid var(--gold);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 28px;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

.nav-link {
    color: var(--cream) !important;
    margin: 0 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.nav-link:hover {
    color: var(--gold) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Button Hover Effects */
.btn {
    transition: all 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3) !important;
}

/* Form Control Styles */
.form-control {
    border: 1px solid var(--gold) !important;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-label {
    color: var(--charcoal);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Card Styles */
.card {
    border: 2px solid var(--gold);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.card-header {
    background: linear-gradient(135deg, var(--charcoal) 0%, #2d2d2d 100%);
    border-bottom: 2px solid var(--gold);
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

/* Package Card Styles */
.package-card {
    border: 2px solid var(--gold);
    border-radius: 15px;
    background: white;
    transition: all 0.3s ease;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.package-header {
    background: linear-gradient(135deg, var(--charcoal) 0%, #2d2d2d 100%);
    border-bottom: 2px solid var(--gold);
    padding: 30px;
    text-align: center;
}

.package-header h3 {
    color: var(--gold);
    font-size: 32px;
    margin-bottom: 10px;
}

.package-price {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 10px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: var(--charcoal);
    font-family: 'Poppins', sans-serif;
}

.package-features li:before {
    content: "✓ ";
    color: var(--gold);
    font-weight: bold;
    margin-right: 10px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--charcoal) 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 72px;
    color: var(--gold);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 18px;
    color: var(--cream);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Section Styles */
section {
    position: relative;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--charcoal);
    margin-bottom: 15px;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 5px solid var(--gold);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.feature-card h4 {
    font-family: 'Playfair Display', serif;
    color: var(--charcoal);
    margin-bottom: 15px;
    font-size: 24px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Testimonial Card */
.testimonial-card {
    background: #2d2d2d;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--gold);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.testimonial-card p {
    color: var(--cream);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-card .author {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-weight: bold;
    margin: 0;
    font-size: 16px;
}

.testimonial-card .location {
    color: #999;
    margin: 0;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--cream);
}

.cta-box {
    background: linear-gradient(135deg, var(--charcoal) 0%, #2d2d2d 100%);
    padding: 60px 40px;
    border-radius: 20px;
    border: 2px solid var(--gold);
    text-align: center;
}

.cta-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 20px;
}

.cta-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: var(--cream);
    margin-bottom: 30px;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border-left: 4px solid;
    padding: 15px 20px;
    margin-bottom: 30px;
}

.alert-danger {
    background-color: #ffe6e6;
    color: #d32f2f;
    border-left-color: #d32f2f;
}

.alert-success {
    background-color: #e6ffe6;
    color: #2e7d32;
    border-left-color: #2e7d32;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background-color: #f5f5f5;
}

table th {
    padding: 20px;
    text-align: left;
    color: var(--charcoal);
    font-weight: 600;
    border-bottom: 2px solid var(--gold);
}

table td {
    padding: 20px;
    color: var(--charcoal);
    border-bottom: 1px solid #eee;
}

table tbody tr {
    transition: all 0.3s ease;
}

table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.status-pending {
    background-color: #FFC107;
}

.status-confirmed {
    background-color: #28A745;
}

.status-completed {
    background-color: #17A2B8;
}

.status-cancelled {
    background-color: #DC3545;
}

/* Footer */
footer {
    background-color: var(--charcoal);
    color: var(--cream);
    padding: 60px 0 20px;
    margin-top: 100px;
    border-top: 3px solid var(--gold);
}

footer a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

footer h5, footer h6 {
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 42px;
    }

    section h2 {
        font-size: 32px;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .nav-link {
        margin: 10px 0;
    }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8941e;
}

/* Utility Classes */
.text-gold {
    color: var(--gold);
}

.text-charcoal {
    color: var(--charcoal);
}

.text-cream {
    color: var(--cream);
}

.bg-gold {
    background-color: var(--gold);
}

.bg-charcoal {
    background-color: var(--charcoal);
}

.bg-cream {
    background-color: var(--cream);
}

.border-gold {
    border: 2px solid var(--gold);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-slide-in-up {
    animation: slideInUp 0.6s ease;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease;
}

/* Modal Styles */
.modal-header {
    background-color: var(--charcoal);
    border-bottom: 2px solid var(--gold);
}

.modal-title {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    margin-bottom: 10px;
}

.modal-body a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.modal-body a:hover {
    text-decoration: underline;
}

/* ====================================
   Gallery Styles
   ==================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    background: white;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.gallery-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.gallery-overlay:hover {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}

.gallery-overlay p {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0;
    color: white;
}

.gallery-item h5 {
    font-family: 'Playfair Display', serif;
    color: var(--charcoal);
    margin: 10px 0;
    font-size: 18px;
}

.gallery-item p {
    color: #666;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Gallery Filter Buttons */
.gallery-filter-btn {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    border: 2px solid var(--gold);
    display: inline-block;
    cursor: pointer;
}

.gallery-filter-btn:hover {
    background-color: var(--gold) !important;
    color: var(--charcoal) !important;
    transform: translateY(-2px);
}

.gallery-filter-btn.active {
    background-color: var(--gold);
    color: var(--charcoal);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: slideIn 0.3s ease;
}

.lightbox-content button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(212, 175, 55, 0.8);
    border: none;
    color: white;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.lightbox-content button:hover {
    background-color: rgba(212, 175, 55, 1);
    transform: scale(1.1);
}

#lightboxModal button:first-of-type {
    position: absolute;
    top: 20px;
    right: 40px;
    transform: none;
    font-size: 40px;
}

#imageInfo {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 10px;
    max-width: 90%;
    z-index: 1001;
}

#imageTitle {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin: 0;
    color: var(--gold);
    font-weight: bold;
}

#imageDesc {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin: 5px 0 0 0;
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-image {
        height: 250px;
    }

    .lightbox-content {
        width: 95%;
        height: 95%;
    }

    #lightboxModal button:first-of-type {
        right: 20px;
        font-size: 30px;
    }

    .lightbox-content button {
        padding: 10px 15px;
        font-size: 20px;
    }

    #imageInfo {
        padding: 10px 15px;
    }

    #imageTitle {
        font-size: 16px;
    }

    #imageDesc {
        font-size: 12px;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
