/* ══════════════════════════════════════
   SUBPAGE SHARED CSS — VisitTetouan
══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Playfair+Display:wght@600;700;800&family=Outfit:wght@300;400;500;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --accent: #22c55e;
    --deep:   #080f0a;
    --dark:   #0d1a10;
    --card:   #0f1f13;
    --text:   #f0fdf4;
    --muted:  #6b8f72;
    --gold:   #a3e635;
}

html { scroll-behavior: smooth; }
body {
    background: var(--deep);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

/* ── HEADER ── */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 20px 60px;
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(to bottom, rgba(0,51,26,0.97), transparent);
    transition: background 0.4s, padding 0.3s;
}
header.scrolled {
    background: rgba(0,30,15,0.95);
    backdrop-filter: blur(20px);
    padding: 14px 60px;
}
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem; font-weight: 300;
    letter-spacing: 5px; 
    text-decoration: none; color: var(--text);
}
.logo span { color: var(--accent); }

nav.navbar { display: flex; gap: 36px; align-items: center; }
nav.navbar a {
    color: rgba(240,253,244,0.7); text-decoration: none;
    font-size: 0.78rem; letter-spacing: 3px; 
    font-weight: 400; transition: color 0.3s; position: relative;
    background: none !important;
}
nav.navbar a::after {
    content: ''; position: absolute;
    bottom: -3px; left: 0; right: 100%;
    height: 1px; background: var(--accent); transition: right 0.3s;
}
nav.navbar a:hover, nav.navbar a.active { color: var(--text) !important; background: none !important; }
nav.navbar a:hover::after, nav.navbar a.active::after { right: 0; }

.menu-toggle { display: none; }
.burger-icon { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger-icon span { width: 26px; height: 2px; background: var(--text); display: block; transition: all 0.3s; }

/* ── PAGE HERO ── */
.page-hero {
    min-height: 40vh;
    display: flex; align-items: flex-end;
    padding: 120px 60px 60px;
    background: linear-gradient(to bottom, var(--dark), var(--deep));
    border-bottom: 1px solid rgba(240,253,244,0.05);
}
.page-hero-content { max-width: 700px; }
.eyebrow {
    display: block; font-size: 0.7rem; letter-spacing: 5px;
     color: var(--accent); margin-bottom: 14px;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 7rem);
     
    color: var(--text); line-height: 1; margin-bottom: 16px;
}
.page-hero p {
    font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 500px;
}

/* ── CARDS SECTION ── */
.cards-section { padding: 80px 60px 100px; }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(240,253,244,0.05);
}
.s-card { background: var(--card); overflow: hidden; transition: background 0.3s; }
.s-card:hover { background: #142018; }
.s-card img {
    width: 100%; height: 220px;
    object-fit: cover; display: block;
    filter: saturate(0.8); transition: filter 0.4s, transform 0.4s;
}
.s-card:hover img { filter: saturate(1); transform: scale(1.03); }
.s-card-icon {
    font-size: 3rem; padding: 40px 38px 0;
    display: block;
}
.s-card.no-img { display: flex; flex-direction: column; }
.s-card-body { padding: 28px 38px 38px; }
.s-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;  
    color: var(--text); margin-bottom: 12px;
}
.s-card-body p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.s-card-body .payment { font-size: 0.8rem; color: rgba(163,230,53,0.8); margin-bottom: 22px; }
.s-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.73rem; letter-spacing: 3px; 
    color: var(--accent); text-decoration: none; font-weight: 500;
    transition: gap 0.3s; background: none !important;
}
.s-btn:hover { gap: 14px; background: none !important; color: var(--accent) !important; }

/* ── CONTACT ── */
.contact-section {
    background: var(--dark);
    text-align: center;
    padding: 70px 60px;
    border-top: 1px solid rgba(240,253,244,0.05);
}
.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
     
    color: var(--text); margin-bottom: 16px;
}
.contact-section p { font-size: 0.95rem; color: var(--muted); line-height: 1.8; }
.contact-section a {
    color: var(--accent); text-decoration: none; font-weight: 500;
    background: none !important; transition: color 0.3s;
}
.contact-section a:hover { color: var(--gold) !important; background: none !important; }

/* ── FOOTER ── */
footer {
    background: #040a06;
    text-align: center;
    padding: 28px 60px;
    border-top: 1px solid rgba(240,253,244,0.05);
    display: flex; flex-direction: column; gap: 8px;
    align-items: center;
}
.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 300;
    letter-spacing: 5px; 
    color: rgba(240,253,244,0.5);
}
.footer-logo span { color: var(--accent); }
footer p { font-size: 0.82rem; color: rgba(240,253,244,0.35); }
footer a { color: var(--accent); text-decoration: none; background: none !important; }
footer a:hover { color: var(--gold) !important; background: none !important; }

/* ── WHATSAPP ── */
.whatsapp-float {
    position: fixed; bottom: 34px; right: 34px;
    width: 54px; height: 54px; background: #25d366 !important;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.4rem; text-decoration: none; z-index: 900;
    box-shadow: 0 8px 30px rgba(37,211,102,0.35);
    transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1) !important; box-shadow: 0 12px 40px rgba(37,211,102,0.5); background: #25d366 !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    header { padding: 16px 24px; }
    header.scrolled { padding: 12px 24px; }
    .burger-icon { display: flex; }
    nav.navbar {
        position: fixed; inset: 0;
        flex-direction: column; justify-content: center;
        background: rgba(8,15,10,0.98); backdrop-filter: blur(20px);
        gap: 36px; transform: translateX(100%); transition: transform 0.4s ease;
    }
    nav.navbar a { font-size: 1rem; letter-spacing: 4px; }
    .menu-toggle:checked ~ .navbar { transform: translateX(0); }
    .menu-toggle:checked ~ .burger-icon span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .menu-toggle:checked ~ .burger-icon span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .burger-icon span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
    .page-hero { padding: 100px 24px 50px; }
    .cards-section { padding: 50px 24px 70px; }
    .cards-grid { grid-template-columns: 1fr; }
    .contact-section { padding: 50px 24px; }
    footer { padding: 28px 24px; }
}