/* ==========================================================================
   Quinta María y José - Design System & Custom Stylesheet
   ========================================================================== */

/* --- CSS Variables & Custom Properties --- */
:root {
    /* Color Palette */
    --primary: #1c3d27;
    --primary-light: #2d5a3c;
    --primary-dark: #112718;
    --accent: #c5a059;
    --accent-dark: #a6813b;
    --accent-light: #ebd6a8;
    
    --bg-light: #f9f8f6;
    --bg-card: #ffffff;
    --bg-dark: #122117;
    
    --text-dark: #2b2e2a;
    --text-muted: #5e635c;
    --text-light: #f4f6f4;
    --text-white: #ffffff;
    
    /* Typography */
    --font-serif: "Playfair Display", serif;
    --font-sans: "Plus Jakarta Sans", sans-serif;
    
    /* Box Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 32px rgba(28, 61, 39, 0.08);
    --shadow-lg: 0 20px 48px rgba(28, 61, 39, 0.15);
    --shadow-gold: 0 12px 32px rgba(197, 160, 89, 0.2);
    
    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --- Base & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button, select, input, textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

ul {
    list-style: none;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-white { color: var(--text-white) !important; }

.section-header {
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 12px;
}

.section-tag.invert {
    color: var(--accent-light);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-md);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(197, 160, 89, 0.35);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* --- Header / Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(249, 248, 246, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(28, 61, 39, 0.05);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 64px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--accent);
    line-height: 1;
}

.logo-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

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

.nav-btn {
    background-color: var(--primary);
    color: var(--text-white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.06), transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(28, 61, 39, 0.04), transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(28, 61, 39, 0.06);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 550px;
}

.hero-details {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    border-top: 1px solid rgba(28, 61, 39, 0.1);
    border-bottom: 1px solid rgba(28, 61, 39, 0.1);
    padding: 20px 0;
}

.hero-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-detail-item i {
    font-size: 1.6rem;
    color: var(--accent);
    background: rgba(197, 160, 89, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-detail-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-detail-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Hero Collage CSS Pattern (Premium overlapping images) */
.hero-collage {
    position: relative;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.collage-item {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-img {
    width: 320px;
    height: 440px;
    left: 40px;
    top: 20px;
    z-index: 2;
    border: 6px solid var(--bg-light);
}

.secondary-img {
    width: 260px;
    height: 340px;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    border: 4px solid var(--bg-light);
}

.float-card {
    position: absolute;
    bottom: 60px;
    left: 0;
    z-index: 3;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.accent-icon {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(197, 160, 89, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-card h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.float-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-collage:hover .main-img {
    transform: translate(-10px, -5px) rotate(-1deg);
}

.hero-collage:hover .secondary-img {
    transform: translate(10px, 5px) rotate(1deg);
}

@keyframes floatAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* --- About Us Section --- */
.about-section {
    padding: 120px 0;
    background-color: var(--bg-card);
}

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

.about-visuals {
    position: relative;
}

.about-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-main-img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.about-visuals:hover .about-main-img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 40px;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 5px solid var(--accent);
}

.badge-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.badge-txt {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content {
    padding-left: 20px;
}

.about-heading {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-card {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: var(--bg-light);
    border: 1px solid rgba(28, 61, 39, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: var(--text-white);
    transform: rotate(5deg) scale(1.05);
}

.feature-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.feature-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Facilities Section --- */
.facilities-section {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.facility-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(28, 61, 39, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.facility-header {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.facility-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.facility-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(18, 33, 23, 0.7);
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.facility-body {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.facility-body h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.facility-body h3 i {
    color: var(--accent);
    font-size: 1.25rem;
}

.facility-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.teaser-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-dark);
    background: rgba(197, 160, 89, 0.1);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-top: auto;
    align-self: flex-start;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 160, 89, 0.25);
}

.facility-card:hover .facility-header img {
    transform: scale(1.05);
}

/* --- Experiences Section --- */
.experiences-section {
    padding: 120px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.experiences-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.lead-white {
    font-size: 1.1rem;
    color: rgba(244, 246, 244, 0.7);
    margin-bottom: 48px;
}

.exp-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.exp-item {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid rgba(244, 246, 244, 0.1);
    padding-bottom: 24px;
}

.exp-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.exp-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
}

.exp-desc h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.exp-desc p {
    font-size: 0.9rem;
    color: rgba(244, 246, 244, 0.65);
}

/* Banner Especial (Quinta Renta Promoción) */
.experiences-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 60px 40px;
    background: url('../images/page_8_img_3.jpg') no-repeat center center;
    background-size: cover;
    box-shadow: var(--shadow-lg);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 33, 23, 0.95), rgba(28, 61, 39, 0.85));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-tag {
    display: inline-block;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.experiences-banner h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 24px;
}

.price-badge {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 32px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.price-badge .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-right: 4px;
}

.price-badge .amount {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-white);
}

.price-badge .period {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-left: 8px;
    letter-spacing: 1px;
}

.banner-text {
    font-size: 0.9rem;
    color: rgba(244, 246, 244, 0.8);
    margin-bottom: 32px;
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 120px 0;
    background-color: var(--bg-card);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(28, 61, 39, 0.05);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 33, 23, 0.85), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.zoom-icon {
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 8px;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.img-title {
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.95rem;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

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

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .zoom-icon, .gallery-item:hover .img-title {
    transform: translateY(0);
}

/* Hidden items animation */
.gallery-item.hide {
    display: none;
}

/* --- Contact & Booking Section --- */
.contact-section {
    padding: 120px 0;
    background-color: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(197, 160, 89, 0.08), transparent 60%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.contact-lead {
    font-size: 1.1rem;
    color: rgba(244, 246, 244, 0.7);
    margin-bottom: 48px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 24px;
    border-radius: var(--radius-md);
}

.detail-icon {
    font-size: 1.3rem;
    color: var(--accent);
    background: rgba(197, 160, 89, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.detail-text p {
    font-size: 0.85rem;
    color: rgba(244, 246, 244, 0.65);
}

/* Styled Map Placement */
.styled-map-container {
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(244, 246, 244, 0.4);
    gap: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.map-placeholder-icon {
    font-size: 2.2rem;
    color: var(--accent);
}

.map-placeholder p {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.map-overlay-card {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: rgba(18, 33, 23, 0.9);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-white);
    border-left: 3px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

.map-overlay-card h5 {
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.map-overlay-card p {
    font-size: 0.7rem;
    color: rgba(244, 246, 244, 0.7);
}

/* Form Panel Details */
.contact-form-panel {
    padding: 48px;
    border-radius: var(--radius-lg);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--accent);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(28, 61, 39, 0.15);
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

.form-group textarea {
    resize: none;
}

.btn-submit {
    margin-top: 10px;
    font-size: 1rem;
    padding: 16px 28px;
}

.icon-right {
    font-size: 1.25rem;
    margin-left: 4px;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-dark);
    color: rgba(244, 246, 244, 0.7);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 64px;
    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo .logo-title {
    color: var(--text-white);
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.social-icons a:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact p {
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact p i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    font-size: 0.8rem;
    color: rgba(244, 246, 244, 0.4);
}

/* --- Lightbox Visualizer --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 33, 23, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

/* --- Scroll To Top Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: -60px;
    background-color: var(--accent);
    color: var(--text-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 99;
    transition: var(--transition-smooth);
}

.scroll-top-btn.active {
    right: 30px;
}

.scroll-top-btn:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Design Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-details {
        justify-content: center;
        width: 100%;
    }
    
    .hero-collage {
        height: 450px;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .main-img {
        width: 260px;
        height: 360px;
    }
    
    .secondary-img {
        width: 220px;
        height: 280px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experiences-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .experiences-banner {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 48px;
    }
    
    .footer-contact {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-light);
        flex-direction: column;
        padding: 48px 24px;
        gap: 24px;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-btn {
        width: 200px;
        justify-content: center;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-contact {
        grid-column: span 1;
        flex-direction: column;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 44px;
        height: 44px;
    }
    
    .lightbox-prev { left: 16px; }
    .lightbox-next { right: 16px; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-details {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        padding-left: 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .experience-badge {
        right: 16px;
        padding: 16px 20px;
    }
}
