/* ============================================
   DrSelim - Base Stylesheet
   Shared styles for pages using includes/header.php
   ============================================ */

:root {
    --nude: #E8E0D5;
    --sand: #D4C8B8;
    --champagne: #C4A87C;
    --graphite: #2C2C2C;
    --anthracite: #1A1A1A;
    --cream: #F7F5F0;
    --white: #FEFDFB;

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Archivo', system-ui, sans-serif;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: clamp(14px, 1.2vw, 18px);
}

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--graphite);
    overflow-x: hidden;
}

::selection {
    background: var(--champagne);
    color: var(--anthracite);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.site-header .container {
    padding: 0 4vw;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo a {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--anthracite);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.site-logo img {
    max-height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navigation .menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.menu-item a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--graphite);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.menu-item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--champagne);
    transition: width 0.3s ease;
}

.menu-item a:hover {
    color: var(--anthracite);
}

.menu-item a:hover::after {
    width: 100%;
}

.menu-item.active a {
    color: var(--anthracite);
}

.menu-item.active a::after {
    width: 100%;
}

/* Dropdown */
.menu-item.has-dropdown {
    position: relative;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.menu-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: none;
}

.dropdown-item a:hover {
    background: var(--cream);
}

.dropdown-item a::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--anthracite);
    transition: all 0.3s ease;
}

/* Site Content */
.site-content {
    padding-top: 80px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--anthracite);
    color: rgba(255,255,255,0.6);
    padding: 3rem 0;
    font-size: 0.85rem;
}

.site-footer a {
    color: var(--champagne);
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .main-navigation .menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .site-content {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}
