/* ==========================================================================
   AVPMS TOURS — GLOBAL STYLES & VARIABLE SYSTEM
   ========================================================================== */

/* 1. TYPOGRAPHY IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* 2. DESIGN SYSTEM & VARIABLES */
:root {
    /* Fonts scale */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Theme-independent layout coordinates */
    --max-width: 1280px;
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* High performance transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Rating stars gold color */
    --rating-color: hsl(38, 95%, 55%); /* #f5a623 */

    /* LIGHT MODE HARMONIZED HSL COLOR PALETTE */
    --primary-color: hsl(210, 63%, 16%);     /* Deep Navy #0f2942 */
    --primary-hover: hsl(210, 63%, 12%);
    --primary-light: hsl(210, 30%, 94%);
    
    --accent-color: hsl(21, 100%, 56%);      /* DPauls Coral #ff6f20 */
    --accent-hover: hsl(21, 100%, 48%);
    --accent-light: hsl(21, 100%, 95%);
    
    --body-bg: hsl(210, 20%, 97%);           /* Soft Ice Gray #f5f7fa */
    --card-bg: hsl(0, 0%, 100%);             /* Pure White */
    --card-border: hsl(210, 15%, 90%);
    
    --text-dark: hsl(210, 30%, 15%);         /* Obsidian Gray #1b2a47 */
    --text-light: hsl(210, 15%, 45%);        /* Muted Slate #5a6e7f */
    --text-muted: hsl(210, 10%, 65%);
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    --shadow-sm: 0 2px 8px rgba(15, 41, 66, 0.04);
    --shadow-md: 0 4px 20px rgba(15, 41, 66, 0.06);
    --shadow-lg: 0 10px 30px rgba(15, 41, 66, 0.1);
    
    --hotline-bg: hsl(210, 63%, 12%);
    --nav-bg: hsl(0, 0%, 100%);
    --nav-text: hsl(210, 30%, 15%);
}

/* DARK MODE OVERRIDES */
body[data-theme="dark"] {
    --primary-color: hsl(210, 70%, 55%);     /* Neon Blue-Sky */
    --primary-hover: hsl(210, 75%, 65%);
    --primary-light: hsl(222, 40%, 18%);
    
    --accent-color: hsl(21, 100%, 56%);      /* DPauls Coral */
    --accent-hover: hsl(21, 100%, 48%);
    --accent-light: hsl(21, 40%, 16%);
    
    --body-bg: hsl(222, 47%, 7%);            /* Midnight Deep Blue #090e1a */
    --card-bg: hsl(222, 40%, 12%);           /* Obsidian Slate #121829 */
    --card-border: hsl(222, 30%, 18%);
    
    --text-dark: hsl(210, 20%, 95%);         /* Ice White */
    --text-light: hsl(210, 15%, 75%);        /* Bright Slate */
    --text-muted: hsl(210, 10%, 55%);
    
    --glass-bg: rgba(18, 24, 41, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 25px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    
    --hotline-bg: hsl(222, 47%, 4%);
    --nav-bg: hsl(222, 40%, 10%);
    --nav-text: hsl(210, 20%, 95%);
}

/* 3. UNIVERSAL RESET */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--body-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom premium scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--body-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.25;
}

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

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

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

/* 4. UTILITIES & CONTAINER STRUCTURE */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section-padding {
    padding: 4rem 0;
}

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

/* Flexbox / Grid utilities */
.flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.grid {
    display: grid;
    gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Premium Glass card helpers */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

/* Section Title system */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

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

/* 5. INTERACTIVE BUTTONS SYSTEM */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 111, 32, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 32, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

/* Star rating element styling */
.stars-container {
    display: inline-flex;
    color: var(--rating-color);
    gap: 2px;
}
.stars-container svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* 6. FORM FIELDS SYSTEM */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--card-border);
    background-color: var(--body-bg);
    color: var(--text-dark);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: var(--card-bg);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-error-text {
    font-size: 0.75rem;
    color: hsl(0, 80%, 50%);
    display: none;
}

.form-group.has-error .form-control {
    border-color: hsl(0, 80%, 50%);
    background-color: hsl(0, 80%, 98%);
}

.form-group.has-error .form-error-text {
    display: block;
}

/* Theme toggle button styling */
.theme-switch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.theme-switch:hover {
    transform: rotate(15deg);
    background-color: var(--card-border);
}

.theme-switch svg {
    width: 20px;
    height: 20px;
}
.theme-switch .sun-icon { display: block; }
.theme-switch .moon-icon { display: none; }

body[data-theme="dark"] .theme-switch .sun-icon { display: none; }
body[data-theme="dark"] .theme-switch .moon-icon { display: block; }
