/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    max-width: 100vw;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Gemosh Headline';
    src: url('../fonts/GemoshHeadline-Regular.woff2') format('woff2'),
        url('../fonts/GemoshHeadline-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Custom Properties */
:root {
    --primary-color: #2c5530;
    --secondary-color: #8fbc8f;
    --accent-color: #ff6b35;
    /* This could be changed to a color more fitting for a "palace" aesthetic, e.g., a rich gold or silver */
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;

    /* Modern Font Families */
    --font-heading: "Poppins", serif;
    --font-subheading: "Montserrat", sans-serif;
    --font-body: "Inter", sans-serif;

    /* New/Adjusted for Silver Palace */
    --silver-accent: #b0c4de;
    /* Light steel blue, could be a silver-like accent */
    --gold-accent: #eeeeee;
    /* Gold for a palace feel */
    --dark-blue: #1a2a4c;
    /* Deeper color for text/elements */
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
    background: var(--bg-light);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg,
            var(--primary-color),
            var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.01em;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg,
            var(--dark-blue),
            var(--primary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
}

.btn-outline:hover {
    background: var(--dark-blue);
    color: var(--white);
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.animate-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.animate-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 70px;
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    /* Original font styling */
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    /* Original white color */
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: -0.02em;
}

.logo-white,
.logo-black {
    transition: opacity 0.3s ease;
}

.logo-black {
    display: none;
}

.header.scrolled .logo {
    color: var(--primary-color);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-subheading);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.header.scrolled .nav-link::after {
    background: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

.header.scrolled .hamburger span {
    background: var(--text-dark);
}

.nav-menu.active+.hamburger span,
.hamburger.active span {
    /* Consolidated hamburger active states */
    background: var(--text-dark);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg,
            rgba(26, 42, 76, 0.8),
            rgba(176, 196, 222, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23e0eaf6" width="1200" height="800"/><g fill="%23c4d6ed"><path d="M0,400 Q300,200 600,400 T1200,400 V800 H0 Z"/></g><g fill="%23a8c6e2"><circle cx="200" cy="200" r="80"/><circle cx="800" cy="150" r="60"/><circle cx="1000" cy="300" r="100"/></g></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            rgba(26, 42, 76, 0.6),
            rgba(176, 196, 222, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    animation: slideInDown 1s ease-out;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--white);
}

.hero-subtitle {
    font-family: var(--font-subheading);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 25px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-style: normal;
    color: var(--gold-accent);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 50px;
    opacity: 0.85;
    animation: fadeInUp 1s ease-out 0.6s both;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transition-delay: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-image img {
    /* Corrected typo from .service-imgae */
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.service-content p {
    font-family: var(--font-body);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Silver Palace Services & Features Section */
.silver-palace-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--dark-blue), var(--silver-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    padding-bottom: 75%; /* Aspect ratio 4:3 */
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-hover);
}

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

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

/* Lightbox/Modal for Gallery */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out forwards;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    display: block;
    margin: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    transform: scale(0.8);
    animation: zoomIn 0.3s forwards;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent-color);
}

/* NEW: Lightbox Navigation Arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 3rem; /* Adjust size as needed */
    font-weight: bold;
    cursor: pointer;
    padding: 10px 15px;
    user-select: none; /* Prevent text selection */
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.3); /* Slightly transparent background */
    border-radius: var(--border-radius); /* Soften corners */
    opacity: 0.8;
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.6); /* Darker on hover */
    opacity: 1;
}

.lightbox-prev {
    left: 20px; /* Position on the left side */
}

.lightbox-next {
    right: 20px; /* Position on the right side */
}

/* Modal Animations (for success and event details modals) */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* General Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001; /* Above lightbox but below any super high z-index elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal.closing {
    animation: fadeOut 0.3s ease-out forwards;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    position: relative;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: translateY(20px);
    animation: slideInUp 0.3s ease-out forwards;
}

.modal-content.animate-on-scroll {
    opacity: 1; /* Override animate-on-scroll's initial opacity */
    transform: translateY(0); /* Override animate-on-scroll's initial transform */
}

.modal-close-btn,
.event-modal-close-btn {
    color: var(--text-light);
    font-size: 30px;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover,
.modal-close-btn:focus,
.event-modal-close-btn:hover,
.event-modal-close-btn:focus {
    color: var(--accent-color);
}

.success-modal h2,
.event-details-modal h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.success-modal h2 .fa-check-circle {
    color: var(--primary-color);
    margin-right: 10px;
}

.success-modal p,
.event-details-modal p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Event Details Modal Specifics */
.event-details-modal .modal-content {
    max-width: 600px;
    padding: 30px;
}

#eventModalDate {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-weight: 600;
}

#eventModalDetails {
    text-align: left;
    margin-bottom: 30px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px; /* For scrollbar spacing */
}

.event-detail-item {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.event-detail-item i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Calendar Styling */
.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 10px 0;
    border-bottom: 1px solid var(--secondary-color);
}

.calendar-navigation h3 {
    font-family: var(--font-subheading);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: var(--shadow);
}

.calendar-day {
    background-color: var(--bg-light);
    padding: 15px 5px;
    min-height: 100px; /* Ensure consistent height */
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden; /* Hide overflowing event text */
    position: relative;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.calendar-day:hover:not(.inactive) {
    background-color: rgba(var(--secondary-color), 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calendar-day.inactive {
    color: var(--text-light);
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.7;
}

.calendar-day.today {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.2);
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.5);
}

.calendar-day.selected .day-number,
.calendar-day.selected .event-item {
    color: var(--white);
}

.calendar-day .day-number {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-blue);
    width: 100%; /* Ensure it takes full width for alignment */
    text-align: right;
    padding-right: 5px;
}

.calendar-day.today .day-number {
    color: var(--primary-color);
}

.calendar-day.selected .day-number {
    color: var(--white);
}

.event-list {
    width: 100%;
    margin-top: 5px;
    padding-left: 5px;
}

.event-item {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    padding: 3px 5px;
    border-radius: 4px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-item:last-child {
    margin-bottom: 0;
}


/* Form Styling */
#booking-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: var(--font-subheading);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.time-group {
    display: flex;
    gap: 20px;
}

.time-group>div {
    flex: 1;
}

/* Footer Styling */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 80px 0 30px;
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--gold-accent);
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--gold-accent);
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold-accent);
    transition: transform 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-links ul li a:hover::before {
    transform: translateX(5px);
}

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--gold-accent);
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 0.95rem;
    outline: none;
}

.newsletter-form button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}


/* Media Queries */
@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 3rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .logo {
        height: 50px;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: rgba(255, 255, 255, 0.98);
        position: absolute;
        top: 80px;
        /* Adjust based on header height */
        left: 0;
        right: 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease-out;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
        /* Hide by default, show with JS 'active' */
    }

    .nav-menu.active {
        transform: translateY(0);
        display: flex;
    }

    .nav-link {
        color: var(--text-dark);
        padding: 10px 0;
        display: block;
        font-size: 1.1rem;
    }

    .nav-link::after {
        background: var(--primary-color);
    }

    .nav-link:hover {
        color: var(--primary-color);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .header.scrolled .nav-menu {
        background: var(--white);
    }

    .header.scrolled .nav-link {
        color: var(--text-dark);
    }

    .header.scrolled .nav-link::after {
        background: var(--primary-color);
    }

    .hero {
        height: 80vh;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 80%;
        margin: 0 auto;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .silver-palace-features-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .time-group {
        flex-direction: column;
        gap: 15px;
    }

    /* Adjust media queries for navigation arrows if necessary */
    .lightbox-nav {
        font-size: 2.5rem;
        padding: 8px 12px;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
    .lightbox-close { /* Make sure close button is also well-positioned on small screens */
        top: 10px;
        right: 15px;
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .section-subtitle {
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about .social-links {
        justify-content: center;
        display: flex;
    }

    .footer-links ul {
        padding-left: 0;
    }

    .footer-links ul li a {
        padding-left: 0;
    }

    .footer-links ul li a::before {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        border-radius: 8px;
        width: 100%;
    }

    .lightbox-nav {
        font-size: 2rem;
        padding: 5px 8px;
    }
    .lightbox-prev {
        left: 5px;
    }
    .lightbox-next {
        right: 5px;
    }
    .lightbox-close {
        font-size: 28px;
    }
}
/* Styles for the "Show More Numbers" button */
.btn-text-link {
    background: none;
    border: none;
    color: #afbbeb; /* A distinct blue */
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    text-decoration: underline;
    display: block;
    margin-top: 5px;
    text-align: left;
}

.btn-text-link:hover {
    color: #7b96c8; /* A darker shade of blue on hover */
}

#additionalPhoneNumbers p {
    margin-top: 5px;
    margin-bottom: 5px;
}