/* 
 * Global CSS Variables
 * This file contains all global variables used throughout the application
 */

/* Add Google Fonts import at the top of your CSS */
@import url('https://fonts.googleapis.com/css2?family=Preahvihear&family=Original+Surfer&family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@300;400;500&display=swap');

:root {
    /* Theme Colors - Light Mode Default */
    --theme-bg-primary: rgba(255, 255, 255, 0.95);
    --theme-bg-secondary: rgba(255, 255, 255, 0.85);
    --theme-text-primary: #1E1E1E;
    --theme-text-secondary: #666666;
    --theme-accent: #80be78;
    --theme-card-bg: rgba(255, 255, 255, 0.9);
    --theme-card-border: rgba(0, 0, 0, 0.1);
    --theme-highlight: rgba(128, 190, 120, 0.1);

    /* Brand Colors */
    --primary: #80be78;          /* Primary green */
    --secondary: #4A7856;        /* Darker green */
    --light: #F5F7F4;           /* Light background */
    --dark: #1E1E1E;            /* Dark text/background */

    /* Background Colors */
    --bg-overlay: rgba(255, 255, 255, 0.5);
    --bg-blur: rgba(255, 255, 255, 0.9);
    --bg-gradient-start: rgba(71, 175, 57, 0.95);
    --bg-gradient-end: rgba(74, 120, 86, 0.95);

    /* Text Colors */
    --text-primary: var(--theme-text-primary);
    --text-secondary: var(--theme-text-secondary);
    --text-light: #FFFFFF;

    /* Fonts */
    --font-primary: 'Preahvihear', sans-serif;       /* For main headings */
    --font-secondary: 'Cormorant Garamond', serif;   /* For luxury touch */
    --font-body: 'Montserrat', sans-serif;           /* Clean, modern body text */
    --font-accent: 'Original Surfer', cursive;       /* For special accent text */

    /* Font Sizes */
    --font-size-xs: 0.9rem;
    --font-size-sm: 1rem;
    --font-size-md: 1.1rem;
    --font-size-lg: 1.3rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --font-size-hero: 3.5rem;

    /* Spacing */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 1.5rem;    /* 24px */
    --spacing-lg: 2rem;      /* 32px */
    --spacing-xl: 2.5rem;    /* 40px */
    --spacing-xxl: 3rem;     /* 48px */

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;
    --radius-round: 50%;

    /* Shadows */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.2);

    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.6;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bezier: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index Layers */
    --z-back: -1;
    --z-normal: 1;
    --z-overlay: 50;
    --z-modal: 1000;

    /* Container Sizes */
    --container-max: 1400px;
    --container-modal: 1200px;

    /* Grid */
    --grid-gap-sm: 1rem;
    --grid-gap-md: 1.5rem;
    --grid-gap-lg: 2rem;

    /* Component Specific */
    --slider-item-width: 300px;
    --thumbnail-height: 100px;
    --modal-sidebar-width: 400px;
    --modal-thumbnail-width: 120px;
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
    :root {
        --theme-bg-primary: rgba(20, 20, 20, 0.95);
        --theme-bg-secondary: rgba(30, 30, 30, 0.85);
        --theme-text-primary: #FFFFFF;
        --theme-text-secondary: #CCCCCC;
        --theme-accent: #80be78;
        --theme-card-bg: rgba(30, 30, 30, 0.9);
        --theme-card-border: rgba(255, 255, 255, 0.1);
        --theme-highlight: rgba(128, 190, 120, 0.2);

        --bg-overlay: rgba(0, 0, 0, 0.5);
        --bg-blur: rgba(20, 20, 20, 0.9);
        
        --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.4);
    }
}

/* Theme Class Overrides for JavaScript switching */
.theme-light {
    --theme-bg-primary: rgba(255, 255, 255, 0.95);
    --theme-bg-secondary: rgba(255, 255, 255, 0.85);
    --theme-text-primary: #1E1E1E;
    --theme-text-secondary: #666666;
    --theme-accent: #80be78;
    --theme-card-bg: rgba(255, 255, 255, 0.9);
    --theme-card-border: rgba(0, 0, 0, 0.1);
    --theme-highlight: rgba(128, 190, 120, 0.1);
    
    --bg-overlay: rgba(255, 255, 255, 0.5);
    --bg-blur: rgba(255, 255, 255, 0.9);
    
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.theme-dark {
    --theme-bg-primary: rgba(20, 20, 20, 0.95);
    --theme-bg-secondary: rgba(30, 30, 30, 0.85);
    --theme-text-primary: #FFFFFF;
    --theme-text-secondary: #CCCCCC;
    --theme-accent: #80be78;
    --theme-card-bg: rgba(30, 30, 30, 0.9);
    --theme-card-border: rgba(255, 255, 255, 0.1);
    --theme-highlight: rgba(128, 190, 120, 0.2);
    
    --bg-overlay: rgba(0, 0, 0, 0.5);
    --bg-blur: rgba(20, 20, 20, 0.9);
    
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.4);
}