/* ============================================================
   PUBLIC.CSS - Shared styles for guest-facing HTML pages
   Lone Star Residence
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --deep-teal: #006064;
    --deep-teal-hover: #004d40;
    --pure-white: #FFFFFF;
    --bevel-shadow: 4px 4px 10px rgba(0, 0, 0, 0.08), -2px -2px 8px rgba(255, 255, 255, 0.9);
    --inset-bevel: inset 2px 2px 5px rgba(0, 0, 0, 0.05), inset -2px -2px 5px rgba(255, 255, 255, 0.8);
}

/* --- Base Typography --- */
body {
    background-color: var(--pure-white);
    color: #333;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #222;
}

/* --- Navbar --- */
.navbar {
    background: transparent;
    padding: 25px 0;
    z-index: 1050;
    transition: 0.4s;
    border: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.floating-logo {
    height: 150px;
    width: auto;
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: 0.4s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.nav-link {
    font-weight: 600;
    color: #FFFFFF !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin: 0 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

.navbar.scrolled .nav-link {
    color: #333 !important;
    text-shadow: none;
}

/* --- Hero --- */
.jumbotron-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero_house.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: -200px;
    padding-top: 200px;
}

.hero-text-shadow { text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8); }

.hero-subtitle {
    letter-spacing: 6px;
    color: #E0F2F1;
    text-transform: uppercase;
}

.hero-lead {
    font-size: 1.4rem;
    font-weight: 300;
}

/* --- Reusable Components --- */
.accent-line {
    width: 50px;
    height: 3px;
    background: var(--deep-teal);
    margin: 25px 0;
}

.accent-line-center {
    width: 50px;
    height: 3px;
    background: var(--deep-teal);
    margin: 15px auto;
}

.text-teal { color: var(--deep-teal); }

/* --- Buttons --- */
.btn-teal {
    background-color: var(--deep-teal);
    color: white;
    font-weight: bold;
    padding: 12px;
    transition: 0.3s;
}

.btn-teal:hover {
    background-color: var(--deep-teal-hover);
    color: white;
}

.btn-airbnb {
    background: #FF5A5F;
    color: white;
    font-weight: bold;
}

.btn-airbnb:hover { background: #e04e53; color: white; }

.btn-booking {
    background: #003580;
    color: white;
    font-weight: bold;
}

.btn-booking:hover { background: #002a66; color: white; }

.btn-teal-float {
    background-color: var(--deep-teal);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    box-shadow: var(--bevel-shadow);
    transition: 0.3s;
    border: none;
}

.btn-teal-float:hover {
    background-color: var(--deep-teal-hover);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.floating-book-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 2000;
    background-color: var(--deep-teal);
    color: white !important;
    padding: 18px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(0, 96, 100, 0.4);
    border: none;
    transition: 0.3s;
}

.floating-book-btn:hover {
    transform: translateY(-5px);
    background-color: var(--deep-teal-hover);
    text-decoration: none;
}

/* --- Cards --- */
.spec-card {
    background: #fafafa;
    border-radius: 12px;
    box-shadow: var(--bevel-shadow);
    border-left: 5px solid var(--deep-teal);
    padding: 1.5rem;
}

.spec-card-title {
    color: var(--deep-teal);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.info-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--bevel-shadow);
    height: 100%;
    margin-bottom: 25px;
    transition: 0.3s;
}

.contact-card {
    border-radius: 12px;
    box-shadow: var(--bevel-shadow);
}

/* --- Host Photo --- */
.host-photo {
    border: 10px solid white;
    box-shadow: var(--bevel-shadow);
    border-radius: 4px;
    max-width: 320px;
}

/* --- Carousel / Slideshow --- */
.carousel-container {
    border: 10px solid white;
    border-radius: 20px;
    box-shadow: var(--bevel-shadow);
    overflow: hidden;
    background: #fff;
}

.carousel-item img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.room-nav-btn {
    background: white;
    border: none;
    padding: 12px 25px;
    margin: 5px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    box-shadow: var(--bevel-shadow);
    transition: 0.3s;
    color: var(--deep-teal);
}

.room-nav-btn:hover {
    background: var(--deep-teal);
    color: white;
    transform: translateY(-3px);
}

/* --- Media / Map Embed --- */
.media-container {
    border: 10px solid white;
    box-shadow: var(--bevel-shadow);
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.media-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- POI Cards (poi.html) --- */
.poi-row {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--bevel-shadow);
    margin-bottom: 60px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.4s;
}

.poi-overlay {
    position: relative;
    overflow: hidden;
    background: #000;
    height: 400px;
}

.poi-overlay img {
    opacity: 0.9;
    transition: 0.5s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poi-overlay:hover img {
    opacity: 0.7;
    transform: scale(1.05);
}

.poi-text-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.icon-color { color: var(--deep-teal); }

/* --- Modals --- */
.modal-rounded { border-radius: 15px; overflow: hidden; }

.modal-header-teal {
    background-color: var(--deep-teal);
    color: white;
}

.modal-header-teal .close { color: white; }

/* --- Footer --- */
footer {
    background-color: #1a1a1a;
    color: #777;
    padding: 60px 0;
    text-align: center;
}

/* --- Section Spacing --- */
.section-padding { padding: 90px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
    .floating-logo { height: 100px; }

    .jumbotron-hero {
        margin-top: -150px;
        padding-top: 150px;
    }

    .display-3 { font-size: 2.5rem; }

    .carousel-item img { height: 300px; }

    .room-nav-btn {
        padding: 8px 12px;
        font-size: 0.65rem;
    }

    .poi-overlay { height: 250px; }

    /* Mobile Nav Dropdown */
    .navbar-collapse {
        background: #FFFFFF;
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        color: #333333 !important;
        text-shadow: none !important;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-item:last-child .nav-link { border-bottom: none; }

    .navbar-toggler i { color: white !important; }
    .navbar.scrolled .navbar-toggler i { color: var(--deep-teal) !important; }
}

@media (max-width: 576px) {
    .carousel-item img { height: 220px; }
    .poi-overlay { height: 200px; }
    .floating-book-btn { padding: 14px 24px; font-size: 0.8rem; }
    .hero-lead { font-size: 1.1rem; }
}
