@import "navigation.css";
@import "envelope.css";
@import "bridgerton.css";
@import "countdown.css";
@import "sections.css";
@import "eventInfoCards.css";
@import "accomodation.css";
@import "gallery.css";
@import "footer.css";
@import "mobileResponsive.css";

:root {
    --primary-color: #6b46c1;
    --secondary-color: #f8fafc;
    --accent-color: #db2777;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #ffffff;
    --bg-soft: #f9fafb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Removes blue overlay on touch devices */
}

*:focus {
    outline: none; /* Removes default browser focus ring */
}

/* Accessible focus for keyboard users */
*:focus-visible {
    outline: 2px solid var(--royal-gold);
    outline-offset: 4px;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation for scroll elements */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Global Site Entrance Animation */
#site-content {
    transition: opacity 2.5s ease-out;
    opacity: 1; /* Default visible if JS removes class */
}

.site-hidden {
    opacity: 0 !important;
}

/* Reusable Elegant Button */
.elegant-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.8rem;
    border: 1px solid var(--royal-gold);
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.elegant-btn:hover {
    background-color: var(--royal-gold);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Floating Control Buttons (Music & Lang) */
.floating-btn {
    position: fixed;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--royal-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.5s ease;
    font-size: 1.2rem;
    font-family: 'Cinzel Decorative', cursive; /* Elegant font for letters */
    font-weight: 700;
    text-decoration: none; /* For anchor tags */
    color: var(--text-dark);

    /* Initial hidden state */
    opacity: 0;
    transform: translateY(20px);
}

.music-btn {
    right: 20px;
    font-size: 1.5rem; /* Icon needs to be slightly bigger than text */
}

.lang-btn {
    left: 20px;
}

.floating-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-btn:hover {
    transform: scale(1.1);
    background: #fff;
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.3);
    color: var(--royal-gold);
}

/* Fix hover conflict */
.floating-btn.visible:hover {
    transform: translateY(0) scale(1.1);
}

@media (max-width: 768px) {
    .floating-btn {
        /* Move up to avoid bottom bars/safe area */
        bottom: calc(20px + env(safe-area-inset-bottom)); 
        width: 45px;
        height: 45px;
    }
    .music-btn { right: 20px; font-size: 1.2rem; }
    .lang-btn { left: 20px; font-size: 1rem; }
}
