
/* 
   Azure Crown Grand Hotel - Stylesheet
   Colors: Royal Blue #0B3C5D, Gold #D4AF37, Ivory #FAF9F6, Dark Gray #2E2E2E
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500&display=swap');

:root {
    --primary: #0B3C5D;
    --accent: #D4AF37;
    --bg-light: #FAF9F6;
    --bg-white: #ffffff;
    --text-dark: #2E2E2E;
    --text-gray: #555555;
    --text-light: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px rgba(0,0,0,0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Helper Classes --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 1px;
}

.section-title::after {
    content: '👑';
    display: block;
    font-size: 1.5rem;
    margin-top: 10px;
    color: var(--accent);
    line-height: 1;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--accent);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.btn:hover {
    background: #b5952f;
    border-color: #b5952f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #082d46;
    border-color: #082d46;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(11, 60, 93, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-img {
    height: 125px;
    width: auto;
    margin-right: 12px;
    padding: 4px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:not(.btn):hover {
    color: var(--accent);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(11, 60, 93, 0.4), rgba(11, 60, 93, 0.4)), url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: fadeInDown 1.2s ease-out;
    line-height: 1.1;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.4rem);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

/* --- About Section Enhanced --- */
.about {
    padding: clamp(80px, 12vw, 140px) 0;
    background: var(--bg-white);
}

.about-story {
    display: flex;
    align-items: center;
    gap: clamp(40px, 8vw, 100px);
    margin-bottom: 80px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 3px solid var(--accent);
    border-left: 3px solid var(--accent);
    z-index: 1;
}

.story-img {
    width: 100%;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    filter: brightness(0.9);
}

.about-text {
    flex: 1;
}

.sub-title {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.story-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
    max-width: 550px;
}

.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--primary);
    margin-top: 30px;
}

.gold-separator {
    width: 150px;
    height: 1px;
    background: var(--accent);
    margin: 60px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 50px 30px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;

    border: 3px solid;
    border-image: linear-gradient(
        135deg,
        #0B3C5D,
        #D4AF37,
        #8E44AD,
        #3498DB
    ) 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: white;
    border-bottom-color: var(--accent);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

@media (max-width: 991px) {
    .about-story {
        flex-direction: column;
    }
    .about-text {
        text-align: center;
    }
    .about-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .about-image::before {
        display: none;
    }
}

/* --- Rooms Section with Parallax --- */
.rooms {
    padding: clamp(80px, 15vw, 120px) 0;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1566665797739-1674de7a421a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.room-card {
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.room-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.room-img-container {
    overflow: hidden;
    height: 250px;
}

.room-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-img {
    transform: scale(1.1);
}

.room-details {
    padding: 30px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* --- Booking Section --- */
.booking {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--primary);
    color: white;
}

.booking-form {
    background: white;
    padding: clamp(20px, 5vw, 50px);
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-dark);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 2px;
}

/* --- Gallery Section with Parallax --- */
.gallery {
    padding: clamp(80px, 15vw, 150px) 0;
    background: linear-gradient(rgba(11, 60, 93, 0.85), rgba(11, 60, 93, 0.85)), url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.gallery .section-title {
    color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    background: var(--primary);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Hover Overlay */
.gallery-item::after {
    content: 'View Experience';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 60, 93, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* --- Room Gallery Modal Specific --- */
.modal-container {
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    background: rgba(0,0,0,0.85);
    padding: 30px;
    border-radius: 12px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-gallery {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.room-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.room-gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.room-gallery-img:hover {
    transform: scale(1.03);
}

/* --- Testimonials --- */
.testimonials {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-light);
    text-align: center;
}

.testimonial-container {
    max-width: 800px;
    margin: 40px auto 0;
    background: white;
    padding: 40px 20px;
    box-shadow: var(--shadow-md);
    min-height: 250px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    display: none;
    width: 100%;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Contact & Footer --- */



/* --- Mobile Specific Overrides --- */
@media (max-width: 991px) {
    .navbar {
        padding: 15px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        padding: 50px;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Disable parallax on tablet/mobile for performance */
    .gallery, .rooms {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}
.location {
    padding: 80px 0;
   background: linear-gradient(
    135deg,
    #0B3C5D,
    #144e75,
    #a47f11,
    #f1c40f
);




}

.location-info p {
    color: #2E2E2E;
    margin: 4px 0;
}

.map-container {
    margin-top: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
/* =======================
   CONTACT FOOTER – FIXED
   ======================= */

.contact-footer {
    position: relative;
    background: linear-gradient(
        135deg,
        #0B3C5D 0%,
        #123A52 45%,
        #1B2A41 100%
    );
    color: #ffffff;
    padding: 80px 0 30px;
    overflow: hidden;
}

/* Golden glow overlay (behind content) */
.contact-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top left,
            rgba(212, 175, 55, 0.22),
            transparent 55%
        );
    z-index: 0;
}

/* Ensure footer content stays above overlay */
.contact-footer .container {
    position: relative;
    z-index: 2;
}

/* Footer grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 50px;
    margin-bottom: 45px;
}

/* Column headings */
.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 18px;
    color: #D4AF37;
    letter-spacing: 1px;
}

/* Footer text */
.footer-col p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

/* Footer links */
.footer-col ul {
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

/* Gold underline animation */
.footer-col ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #D4AF37, #FFD700);
    transition: width 0.35s ease;
}

.footer-col ul li a:hover {
    color: #FFD700;
}

.footer-col ul li a:hover::after {
    width: 100%;
}

/* Footer bottom bar */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 22px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.5px;
}

/* Subtle entrance animation */
.contact-footer {
    animation: footerFadeUp 1s ease both;
}

@keyframes footerFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile refinement */
@media (max-width: 600px) {
    .contact-footer {
        padding: 60px 0 25px;
    }

    .footer-col h4 {
        font-size: 20px;
    }

    .footer-col p,
    .footer-col ul li a {
        font-size: 14px;
    }
}

