/**
 * ========================================
 * Home Page V2 - Design System Variables
 * ========================================
 * 
 * All colors, fonts, sizes, and spacing defined here
 * Easy to maintain and customize
 */

:root {
    /* ==================== COLORS - LIGHT MODE ==================== */
    
    /* Primary Colors */
    --color-primary: #1F3E4F;           /* Dark blue-gray (header color) */
    --color-primary-light: #2C5468;     /* Lighter blue-gray */
    --color-primary-dark: #152C3A;      /* Darker blue-gray */
    --color-primary-hover: #2A4F62;     /* Hover state */
    
    /* Secondary Colors */
    --color-secondary: #3b82f6;         /* Blue */
    --color-secondary-light: #60a5fa;   /* Light blue */
    --color-secondary-dark: #2563eb;    /* Dark blue */
    
    /* Background Colors */
    --bg-primary: #ffffff;              /* White */
    --bg-secondary: #f9fafb;            /* Light gray */
    --bg-tertiary: #f3f4f6;             /* Lighter gray */
    --bg-card: #ffffff;                 /* Card background */
    --bg-header: #1F3E4F;               /* Header background (dark blue-gray) */
    --bg-footer: #1F3E4F;               /* Footer background (dark blue-gray) */
    
    /* Text Colors */
    --text-primary: #111827;            /* Almost black */
    --text-secondary: #6b7280;          /* Gray */
    --text-tertiary: #9ca3af;           /* Light gray */
    --text-white: #ffffff;              /* White */
    --text-on-primary: #ffffff;         /* Text on primary color */
    
    /* Border Colors */
    --border-primary: #e5e7eb;          /* Light gray */
    --border-secondary: #d1d5db;        /* Medium gray */
    --border-accent: #bfdbfe;           /* Light blue */
    --border-focus: #3b82f6;            /* Blue for focus */
    
    /* Status Colors */
    --color-success: #10b981;           /* Green */
    --color-error: #ef4444;             /* Red */
    --color-warning: #f59e0b;           /* Orange */
    --color-info: #3b82f6;              /* Blue */
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    --gradient-secondary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
    
    /* ==================== TYPOGRAPHY ==================== */
    
    /* Font Families - with proper fallbacks */
    --font-bangla: 'Noto Serif Bengali', 'Times New Roman', 'Times', serif;           /* For Bengali text */
    --font-english: 'Bitter', 'Georgia', 'Times New Roman', 'Times', serif;                      /* For English text */
    --font-mixed: 'Bitter', 'Noto Serif Bengali', 'Georgia', 'Times New Roman', serif;  /* For mixed content */
    --font-hind: 'Hind Siliguri', 'Arial', 'Helvetica', 'sans-serif';  /* For section headers */
    
    /* Font Sizes */
    --text-xs: 0.75rem;        /* 12px */
    --text-sm: 0.875rem;       /* 14px */
    --text-base: 1rem;         /* 16px */
    --text-lg: 1.125rem;       /* 18px */
    --text-xl: 1.25rem;        /* 20px */
    --text-2xl: 1.5rem;        /* 24px */
    --text-3xl: 1.875rem;      /* 30px */
    --text-4xl: 2.25rem;       /* 36px */
    --text-5xl: 3rem;          /* 48px */
    --text-6xl: 3.75rem;       /* 60px */
    --text-7xl: 4.5rem;        /* 72px */
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    
    /* ==================== SPACING ==================== */
    
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    
    /* ==================== BORDERS ==================== */
    
    --border-width-1: 1px;
    --border-width-2: 2px;
    --border-width-4: 4px;
    
    --border-radius-sm: 0.375rem;    /* 6px */
    --border-radius-md: 0.5rem;      /* 8px */
    --border-radius-lg: 0.75rem;     /* 12px */
    --border-radius-xl: 1rem;        /* 16px */
    --border-radius-2xl: 1.5rem;     /* 24px */
    --border-radius-full: 9999px;    /* Fully rounded */
    
    /* ==================== SHADOWS ==================== */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* ==================== TRANSITIONS ==================== */
    
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* ==================== Z-INDEX ==================== */
    
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* ==================== HEADER SPECIFIC ==================== */
    
    --header-height: 80px;              /* Increased from 70px */
    --header-padding-y: 1.25rem;        /* 20px vertical padding */
    --header-padding-x: 2rem;           /* 32px horizontal padding */
    --header-bg: var(--color-primary);
    --header-text: var(--text-white);
    --header-hover-bg: rgba(255, 255, 255, 0.1);
    --header-border: rgba(255, 255, 255, 0.1);
    
    /* Dropdown Specific */
    --dropdown-hover-bg: #f2f9ff;       /* Light blue hover background */
    
    /* Logo Specific */
    --logo-font-family: 'Bitter', serif;
    --logo-font-weight: 700;
    --logo-line-height: 1.2;
    --logo-letter-spacing: 0%;
    --logo-gradient: linear-gradient(90deg, #09AACD 0%, #B5DBE4 100%);
    
    /* Logo Responsive Sizes */
    --logo-size-mobile: 1.25rem;     /* 20px - mobile */
    --logo-size-sm: 1.5rem;          /* 24px - small devices */
    --logo-size-md: 1.875rem;        /* 30px - medium devices */
    --logo-size-lg: 2.25rem;         /* 36px - large devices (original size) */
}

/* ==================== DARK MODE ==================== */

.dark {
    /* Primary Colors - Adjusted for dark mode */
    --color-primary: #14b8a6;           /* Lighter teal for dark mode */
    --color-primary-light: #5eead4;     /* Even lighter teal */
    --color-primary-dark: #0d9488;      /* Medium teal */
    --color-primary-hover: #2dd4bf;     /* Bright teal for hover */
    
    /* Background Colors */
    --bg-primary: #111827;              /* Dark gray (almost black) */
    --bg-secondary: #1f2937;            /* Dark gray */
    --bg-tertiary: #374151;             /* Medium dark gray */
    --bg-card: #1f2937;                 /* Card background dark */
    --bg-header: #1F3E4F;               /* Header background (same in dark mode) */
    --bg-footer: #1F3E4F;               /* Footer background (same in dark mode) */
    
    /* Text Colors */
    --text-primary: #f9fafb;            /* Almost white */
    --text-secondary: #d1d5db;          /* Light gray */
    --text-tertiary: #9ca3af;           /* Medium gray */
    --text-white: #ffffff;              /* White */
    --text-on-primary: #ffffff;         /* White text on primary */
    
    /* Border Colors */
    --border-primary: #374151;          /* Dark gray */
    --border-secondary: #4b5563;        /* Medium dark gray */
    --border-accent: #1e40af;           /* Dark blue */
    --border-focus: #60a5fa;            /* Light blue for focus */
    
    /* Shadows - Adjusted for dark mode */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    
    /* Header in dark mode */
    --header-hover-bg: rgba(255, 255, 255, 0.15);
    --header-border: rgba(255, 255, 255, 0.15);
}

/* ==================== UTILITY CLASSES ==================== */

/* Text utilities */
.text-bangla {
    font-family: var(--font-bangla);
}

.text-english {
    font-family: var(--font-english);
}

.text-mixed {
    font-family: var(--font-mixed);
}

/* Color utilities */
.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.bg-primary {
    background-color: var(--bg-primary);
}

.bg-card {
    background-color: var(--bg-card);
}

.border-primary {
    border-color: var(--border-primary);
}

/* Header utilities */
.header-bg {
    background-color: var(--header-bg);
}

.header-text {
    color: var(--header-text);
}

/* Transition utilities */
.transition-base {
    transition: all var(--transition-base);
}

.transition-fast {
    transition: all var(--transition-fast);
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
/* These match Tailwind's default breakpoints */

/* sm: 640px */
/* md: 768px */
/* lg: 1024px */
/* xl: 1280px */
/* 2xl: 1536px */

