/* Premium Hotel O Saiin Landing Page - Custom CSS */
:root {
    --primary-color: #073f43;
    --primary-accent: #11a6a6;
    --primary-accent-dark: #0b7578;
    --primary-accent-light: #dffafa;
    --secondary-accent: #0f5d66;
    --gold-accent: #d7b56d;
    --text-color: #14272b;
    --text-muted: #64757a;
    --bg-light: #fbfefe;
    --bg-gray: #f2f8f8;
    --bg-premium: #f7fbfa;
    --shadow-premium: rgba(17, 166, 166, 0.16);
    --gradient-primary: linear-gradient(135deg, #073f43 0%, #0b7578 48%, #11a6a6 100%);
    --gradient-accent: linear-gradient(135deg, #11a6a6 0%, #58d0cf 55%, #d7b56d 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--bg-light);
}

html, body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif;
}

/* Utilities */
.text-primary-accent { color: var(--primary-accent) !important; }
.bg-primary-accent { background-color: var(--primary-accent) !important; }
.bg-navy { background-color: var(--primary-color) !important; }
.bg-light-gray { background-color: var(--bg-gray) !important; }
.bg-premium { background-color: var(--bg-premium) !important; }
.bg-primary { background-color: var(--primary-accent) !important; }
.bg-secondary { background-color: var(--secondary-accent) !important; }
.border-primary-accent { border-color: var(--primary-accent) !important; }
.shadow-premium { box-shadow: 0 10px 30px var(--shadow-premium) !important; }

.text-gradient {
    background: linear-gradient(135deg, #e8fffd 0%, #58d0cf 42%, #d7b56d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary-gradient {
    background: var(--gradient-accent);
    color: #073f43;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 16px 34px rgba(17, 166, 166, 0.32);
}

.btn-primary-gradient:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(7, 63, 67, 0.24);
}

.btn-gold {
    background: linear-gradient(45deg, var(--gold-accent), #f59e0b);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(45deg, #f59e0b, var(--gold-accent));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.hover-accent:hover { color: var(--primary-accent) !important; }
.hover-white:hover { color: #000 !important; opacity: 1; }

.section-padding { padding: 80px 0; }
.tracking-wide { letter-spacing: 2px; }
.opacity-75 { opacity: 0.75; }

/* Topbar */
.topbar {
    background: var(--primary-color);
    color: #cfefef;
    font-size: 0.85rem;
}

/* Navbar */
.navbar {
    background-color: rgba(251, 254, 254, 0.94);
    backdrop-filter: blur(18px);
    transition: all 0.3s ease;
    padding: 1rem !important;
    border-bottom: 1px solid rgba(17, 166, 166, 0.12);
}
 
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding-top: 1rem !important;
    padding-bottom: 0.5rem !important;
    box-shadow: 0 16px 36px rgba(7, 63, 67, 0.08);
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
    margin-right: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.95rem;
    position: relative;
    transition: 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-accent);
    bottom: 2px;
    left: 0.75rem;
    transition: 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: calc(100% - 1.5rem);
}

.phone-link {
    text-decoration: none;
}

.icon-pulse {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-accent-light);
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-accent);
    opacity: 0.2;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 82vh;
    min-height: 520px;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero_banne.avif');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    transform: scale(1.03);
    filter: saturate(1.05) contrast(1.04);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 82% 22%, rgba(17, 166, 166, 0.34) 0%, rgba(17, 166, 166, 0) 32%),
        linear-gradient(90deg, rgba(5, 37, 40, 0.9) 0%, rgba(7, 63, 67, 0.76) 44%, rgba(7, 63, 67, 0.28) 75%, rgba(7, 63, 67, 0.15) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.34));
    backdrop-filter: blur(0.4px);
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 160px;
    background: linear-gradient(180deg, rgba(251, 254, 254, 0) 0%, rgba(251, 254, 254, 0.92) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-headline {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.animate-bounce {
    animation: bounce 2.5s cubic-bezier(0.36, 0, 0.66, -0.56) infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Stats */
.stats-section {
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.stat-box {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(17, 166, 166, 0.08);
}

.stat-box:hover {
    background-color: rgba(17, 166, 166, 0.08) !important;
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(17, 166, 166, 0.15);
}

/* About Section */
.about-image-wrapper {
    padding: 20px 20px 0 0;
}

.about-image-wrapper .bg-primary-accent {
    background: linear-gradient(145deg, #073f43, #11a6a6) !important;
}

.portrait-img {
    height: 500px;
}

.experience-card {
    bottom: -20px;
    right: -20px;
    z-index: 2;
}

/* Phone Glow */
.glow-icon {
    box-shadow: 0 0 15px rgba(17,166,166,0.5);
    transition: 0.3s;
}
.signature-phone:hover .glow-icon {
    box-shadow: 0 0 25px rgba(17,166,166,0.8);
    transform: scale(1.05);
}

/* Why Us Section */
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.why-card {
    transition: 0.3s;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.why-card:hover {
    background-color: rgba(255,255,255,0.16) !important;
    transform: translateY(-5px);
}

/* Services */
.heading-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-accent);
    border-radius: 2px;
}

.service-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(17, 166, 166, 0.1);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 42px rgba(7, 63, 67, 0.12) !important;
    border-color: rgba(17, 166, 166, 0.32);
}

.service-icon {
    width: 80px;
    height: 80px;
    transition: 0.3s;
    background-color: var(--primary-accent-light) !important;
}

.service-card:hover .service-icon {
    background-color: var(--primary-accent) !important;
}

.service-card:hover .service-icon i {
    color: white !important;
}

.alert-soft-primary {
    background-color: rgba(17, 166, 166, 0.12);
    color: var(--primary-color);
}

/* Gallery */
.gallery-section {
    background:
        linear-gradient(180deg, #ffffff 0%, var(--bg-premium) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(223, 250, 250, 0.72));
    border: 1px solid rgba(17, 166, 166, 0.16);
    border-radius: 1rem;
    box-shadow: 0 18px 42px rgba(7, 63, 67, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow: hidden;
    padding: 0.65rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-img {
    width: 100%;
    height: 100%;
    border-radius: 0.7rem;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    border-color: rgba(17, 166, 166, 0.34);
    box-shadow: 0 24px 56px rgba(7, 63, 67, 0.16);
    transform: translateY(-6px);
}

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

/* Testimonials */
.testimonial-card {
    transition: 0.3s;
    border-color: rgba(17, 166, 166, 0.12) !important;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(7, 63, 67, 0.1) !important;
}

/* Contact Details */
.map-container iframe,
.contact-map-link iframe {
    display: block;
    height: 100%;
    min-height: 200px;
    width: 100%;
}

.map-column {
    min-height: 200px;
}

.contact-map-link {
    background: var(--bg-premium);
    min-height: 160px;
    overflow: hidden;
    position: relative;
}

.contact-map-link iframe {
    pointer-events: none;
}
.icon-box {
    width: 50px;
    height: 50px;
}

.business-hours {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.business-hours li,
.business-hours span {
    color: rgba(255, 255, 255, 0.92);
}

.business-hours .text-primary-accent {
    color: #7ef0ed !important;
}

/* Footer Links */
.footer .social-link:hover {
    background-color: var(--primary-accent) !important;
    transform: translateY(-3px);
}
.footer-links a {
    transition: 0.3s;
    background-color: transparent;
}

.footer-links a:hover {
    color: var(--primary-accent) !important;
    padding-left: 5px !important;
    background-color: transparent !important;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
    .section-padding { padding: 60px 0; }
    h1, h2, .display-5, .display-6 { font-size: 2rem; }
}

@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem !important;
    }
    
    .experience-card {
        right: 10px;
        bottom: 10px;
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem;
    }
    
    .hero-section {
        height: auto;
        min-height: auto;
        padding-top: 95px;
        padding-bottom: 60px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-bg {
        background-attachment: scroll;
        background-position: 62% center;
    }
    
    .stats-section {
        margin-top: 20px;
    }
    
    .section-padding { padding: 50px 0; }
    
    .stat-box {
        padding: 2rem 1.5rem !important;
    }
    
    .service-card {
        padding: 3rem 1.5rem !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tablet Optimization */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0 !important;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem !important;
    }
    
    .section-padding { padding: 40px 0; }
    
    .hero-section {
        padding-top: 85px;
        padding-bottom: 45px;
    }
    
    .hero-headline {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .display-6 {
        font-size: 1.8rem;
    }
    
    .stat-box {
        padding: 1.5rem 1rem !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    }
    
    .stat-box:last-child {
        border-bottom: none !important;
    }
    
    .row.g-0 > .col-lg-3 {
        border-right: none !important;
    }
    
    .stats-section {
        margin-top: 15px;
    }
    
    .about-image-wrapper {
        padding: 15px 0 0 0;
        margin-bottom: 2rem;
    }
    
    .experience-card {
        position: static !important;
        margin-top: 1rem;
        width: 100%;
        padding: 0.75rem 1.25rem !important;
    }
    
    .service-card {
        padding: 2rem 1rem !important;
        min-height: auto;
    }
    
    .why-card {
        padding: 2rem 1.25rem !important;
    }
    
    .btn {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.9rem;
    }
    
    .contact-info-list .d-flex {
        margin-bottom: 1.5rem !important;
    }
    
    .map-container iframe {
        min-height: 300px;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem !important;
    }
    
    .heading-line {
        width: 50px;
        height: 3px;
    }
}

/* Mobile Optimization */
@media (max-width: 576px) {
    body {
        font-size: 0.95rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar .container {
        min-height: 58px;
    }
    
    .navbar-brand {
        font-size: 1rem;
        margin-right: 1rem;
    }

    .navbar-brand .fs-4 {
        font-size: 1.05rem !important;
        line-height: 1;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.4rem !important;
    }
    
    .btn-primary-gradient {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem;
        min-height: 46px;
    }
    
    .section-padding { padding: 30px 0; }
    
    .hero-section {
        min-height: 500px;
        padding-top: 62px;
        padding-bottom: 36px;
        display: flex;
        align-items: flex-start;
        text-align: center;
    }

    .hero-section .container {
        height: auto !important;
    }

    .hero-section .row {
        min-height: 0;
        align-items: center !important;
    }

    .hero-section .col-lg-7 {
        padding-top: 0 !important;
    }

    .hero-bg {
        background-position: 68% center;
        transform: scale(1.01);
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(5, 37, 40, 0.76) 0%, rgba(7, 63, 67, 0.82) 48%, rgba(5, 37, 40, 0.92) 100%),
            radial-gradient(circle at 50% 14%, rgba(17, 166, 166, 0.38), rgba(17, 166, 166, 0) 44%);
    }

    .hero-section::after {
        height: 96px;
    }
    
    .hero-headline {
        font-size: 2.55rem;
        line-height: 1;
        margin-bottom: 0.9rem !important;
        max-width: 10ch;
        margin-left: auto;
        margin-right: auto;
    }
    
    .lead {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .hero-section .lead {
        display: block !important;
        max-width: 21rem;
        font-size: 1rem;
        font-weight: 500;
        margin-left: auto;
        margin-right: auto;
        opacity: 0.9 !important;
    }

    .hero-section .badge {
        max-width: 100%;
        white-space: normal;
        line-height: 1.25;
        margin-bottom: 0.85rem !important;
    }

    .hero-section .d-flex.gap-3 {
        gap: 0.75rem !important;
        width: 100%;
        max-width: 21rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-section .btn {
        width: 100%;
        justify-content: center;
    }
    
    .display-6, h2.display-6 {
        font-size: 1.5rem;
    }
    
    .display-5, h1.display-5 {
        font-size: 1.8rem;
    }
    
    .badge {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.75rem;
    }
    
    .stat-box {
        padding: 0 !important;
        text-align: center;
        min-height: 128px;
        display: flex;
        align-items: stretch;
        justify-content: center;
        border-color: rgba(17, 166, 166, 0.12) !important;
    }

    .stat-box > div {
        width: 100%;
        padding: 1.05rem 0.65rem !important;
    }
    
    .stat-box p {
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .stat-box h3 {
        font-size: 1.25rem !important;
    }
    
    .service-card {
        padding: 1.5rem 1rem !important;
    }
    
    .service-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    .why-card {
        padding: 1.5rem 1rem !important;
    }
    
    .why-card h4 {
        font-size: 0.95rem;
    }
    
    .why-card p {
        font-size: 0.8rem;
    }
    
    .testimonial-card {
        padding: 1.5rem 1rem !important;
    }
    
    .testimonial-card p {
        font-size: 0.85rem;
    }
    
    .experience-card {
        position: static !important;
        width: 100% !important;
        max-width: 18rem;
        min-height: 0;
        height: auto !important;
        margin-top: 1rem;
        margin-left: auto;
        margin-right: auto;
        border-radius: 999px !important;
    }

    .signature-phone {
        width: 100%;
        max-width: 20rem;
        justify-content: flex-start;
        padding-right: 1rem !important;
        margin-left: auto;
        margin-right: auto;
    }

    .signature-phone .fs-5 {
        font-size: 1rem !important;
        line-height: 1.2;
    }
    
    .experience-card h5 {
        font-size: 0.9rem;
    }
    
    .experience-card .text-muted {
        font-size: 0.75rem;
    }
    
    .about-image-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .about-image-wrapper img {
        height: 300px !important;
    }
    
    .row.g-5 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    
    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    
    .row.g-3 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
    
    .p-4 {
        padding: 1rem !important;
    }
    
    .p-md-5 {
        padding: 1rem !important;
    }
    
    .px-4 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .gallery-item {
        aspect-ratio: 4 / 3;
        border-radius: 0.85rem;
        padding: 0.5rem;
    }

    .gallery-img {
        border-radius: 0.6rem;
    }
    
    .map-container iframe,
    .contact-map-link iframe,
    .map-column,
    .contact-map-link {
        min-height: 180px;
    }
    
    .contact-info-list .d-flex {
        margin-bottom: 0.75rem !important;
        align-items: flex-start !important;
        text-align: left;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 0.9rem;
        padding: 0.85rem;
    }
    
    .contact-info-list h5 {
        font-size: 0.95rem;
    }
    
    .contact-info-list address,
    .contact-info-list p {
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .icon-box {
        width: 38px;
        height: 38px;
        margin-right: 0.75rem !important;
    }

    .business-hours {
        padding: 1rem !important;
    }

    .business-hours li {
        gap: 1rem;
        font-size: 0.86rem;
    }

    #contact .row.g-0 {
        border-radius: 1.1rem !important;
        overflow: visible !important;
    }

    #contact .col-lg-6 {
        padding: 1rem !important;
    }

    #contact h2 {
        font-size: 1.85rem;
        line-height: 1.15;
    }

    #contact h3 {
        font-size: 1.2rem !important;
        line-height: 1.25;
    }

    #contact .text-white-75,
    #contact .text-white-50 {
        color: rgba(255, 255, 255, 0.78) !important;
    }

    #contact .contact-info-list {
        margin-bottom: 0.9rem !important;
    }

    #contact .btn-primary-gradient {
        border-radius: 0.9rem !important;
    }

    #contact .col-lg-6:last-child {
        text-align: left;
        justify-content: flex-start !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(17, 166, 166, 0.08) !important;
    }

    #contact .col-lg-6:last-child .text-center {
        text-align: left !important;
        width: 100%;
    }

    #contact .col-lg-6:last-child .gap-3 {
        gap: 0.7rem !important;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .text-md-start {
        text-align: left !important;
    }
    
    .text-center.text-lg-start {
        text-align: center !important;
    }
    
    .heading-line {
        width: 40px;
        height: 2px;
    }
    
    .footer h5 {
        font-size: 1rem;
        margin-bottom: 0.8rem !important;
    }
    
    .footer p, .footer a {
        font-size: 0.8rem;
    }

    .footer,
    .footer .text-center,
    .footer .text-md-start {
        text-align: left !important;
    }

    .footer .row {
        --bs-gutter-y: 1.4rem;
    }

    .footer .d-flex {
        justify-content: flex-start !important;
    }

    .footer .footer-links li {
        margin-bottom: 0.55rem !important;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .badge {
        padding: 0.42rem 0.75rem !important;
        font-size: 0.78rem;
    }
    
    .btn {
        padding: 0.7rem 1rem !important;
        font-size: 0.88rem;
    }
    
    .stat-box h3 {
        font-size: 1.5rem;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        padding-top: 60px;
        padding-bottom: 30px;
    }
    
    .scroll-indicator {
        display: none;
    }
}
