/* ================================================
   BASE CSS - Global Styles and Components
   ================================================ */

/* CSS Custom Properties */
:root {
    /* Colors */
    --primary: #1a1a1a;
    --secondary: #2a2a2a;
    --accent-color: #b3005e;
    --accent-secondary: #e91e63;
    --gold: #d4af37;
    --light: #ffffff;
    --dark: #0a0a0a;
    --gray-light: #f5f5f5;
    --gray-medium: #666666;
    --gray-dark: #333333;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Playfair Display', 'Georgia', serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: 3.5rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* 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;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-index */
    --z-negative: -1;
    --z-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-100: 100;
    --z-max: 9999;
}

/* ================================================
   Reset & Base Styles
   ================================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ================================================
   Typography
   ================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

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

a:hover {
    color: var(--accent-secondary);
}

strong, b {
    font-weight: 600;
}

em, i {
    font-style: italic;
}

/* ================================================
   Container & Layout
   ================================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.container-sm {
    max-width: 768px;
}

.container-lg {
    max-width: 1400px;
}

.section {
    padding: var(--spacing-4xl) 0;
}

/* ================================================
   Buttons
   ================================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
    line-height: 1;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--light);
    border-color: var(--accent-color);
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background-color: #000000;
    border-color: #ffffff;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--light);
    border-color: var(--light);
}

.btn-outline:hover {
    background-color: var(--light);
    color: var(--dark);
}

.btn-dark {
    background-color: var(--dark);
    color: var(--light);
    border-color: var(--dark);
}

.btn-dark:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: var(--text-lg);
}

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: var(--text-sm);
}

.btn-book {
    background: var(--accent-color);
    color: var(--light);
    border: 2px solid transparent;
    padding: 0.5rem 1.75rem;
    font-size: var(--text-sm);
    transition: all 0.4s ease;
}

.btn-book:hover {
    background-color: #000000;
    border: 2px solid #ffffff;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(179, 0, 94, 0.3);
}

/* ================================================
   Forms
   ================================================ */

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--gray-dark);
    background-color: var(--light);
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(179, 0, 94, 0.1);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--gray-dark);
}

/* ================================================
   Utility Classes
   ================================================ */

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text Colors */
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent-color); }
.text-gold { color: var(--gold); }
.text-light { color: var(--light); }
.text-dark { color: var(--dark); }
.text-muted { color: var(--gray-medium); }

/* Font Weight */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

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

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* Margins */
.m-0 { margin: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }

/* Width */
.w-100 { width: 100%; }
.w-auto { width: auto; }

/* Background */
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); }
.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent-color); }
.bg-gray-light { background-color: var(--gray-light); }

/* Border Radius */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Visibility */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* ================================================
   Components
   ================================================ */

/* Cards */
.card {
    background-color: var(--light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    background-color: var(--accent-color);
    color: var(--light);
}

/* Dividers */
.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: var(--spacing-lg) 0;
}

.divider-center {
    margin-left: auto;
    margin-right: auto;
}

/* ================================================
   Responsive
   ================================================ */

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .section {
        padding: var(--spacing-3xl) 0;
    }
    
    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    h3 { font-size: var(--text-2xl); }
}

@media (max-width: 480px) {
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    h3 { font-size: var(--text-xl); }
}