:root {
    /* Colors */
    --primary-color: #F08A4B; /* Warm Orange */
    --secondary-color: #BD602E; /* Darker Orange */
    --background-color: #2C3E50; /* Dark Blue-Gray */
    --footer-bg-color: #1A252E; /* Very Dark Blue-Gray */
    --button-color: #F08A4B; /* Warm Orange */
    --text-primary-color: #EDE7DA; /* Light Cream */
    --text-secondary-color: #D1D8E0; /* Light Gray-Blue */
    --header-bg-color: #1A252E; /* Very Dark Blue-Gray */

    /* Section Backgrounds - derived from palette, subtly varied */
    --section-bg-1: #2C3E50;
    --section-bg-2: #3A536B;
    --section-bg-3: #4E6B86;
    --section-bg-4: #BD602E; /* Accent section */

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Lora', serif;
    --font-size-base: 1rem; /* 16px */
    --line-height-base: 1.7;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Borders & Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --button-border-radius: 8px;

    /* Shadows */
    --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.3);
    --shadow-brutalism: 6px 6px 0px var(--secondary-color); /* Brutalism touch */

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-ease: ease-in-out;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-primary-color);
    background-color: var(--background-color);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll from brutalism shadows */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--text-primary-color);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Layout & Structure */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

header {
    background-color: var(--header-bg-color);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

footer {
    background-color: var(--footer-bg-color);
    color: var(--text-secondary-color);
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Section Backgrounds - for visual variety, subtle gradients */
.section-bg-1 {
    background-color: var(--section-bg-1);
}

.section-bg-2 {
    background-color: var(--section-bg-2);
    background-image: linear-gradient(135deg, var(--section-bg-2) 0%, rgba(78, 107, 134, 0.5) 100%);
}

.section-bg-3 {
    background-color: var(--section-bg-3);
    background-image: linear-gradient(45deg, var(--section-bg-3) 0%, rgba(78, 107, 134, 0.7) 100%);
}

.section-bg-4 {
    background-color: var(--section-bg-4);
    background-image: linear-gradient(to right, var(--section-bg-4), var(--primary-color));
    color: var(--background-color); /* Adjust text color for contrast */
}

/* Buttons - with elegant gradients and subtle brutalism-inspired touch */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--button-border-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-ease);
    position: relative; /* For brutalism shadow effect */
    color: var(--background-color); /* Text on button */
    background: linear-gradient(145deg, var(--button-color) 0%, var(--secondary-color) 100%);
    box-shadow: var(--shadow-brutalism);
    margin-bottom: 6px; /* To prevent brutalism shadow from being cut */
    margin-right: 6px;
}

.btn:hover {
    transform: scale(1.05) perspective(1px) translateZ(0); /* user_specific_css_requests */
    box-shadow: 8px 8px 0px var(--primary-color); /* Brutalism shadow changes on hover */
    margin-top: -2px; /* Slight lift */
    margin-left: -2px;
    margin-bottom: 8px; /* Adjust margin for new shadow */
    margin-right: 8px;
}

.btn:active {
    transform: scale(0.98);
    box-shadow: 2px 2px 0px var(--secondary-color);
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 6px;
    margin-right: 6px;
}

/* Cards - modern, clean with soft shadows */
.card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for depth */
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-speed) var(--transition-ease);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent background */
    color: var(--text-primary-color);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(240, 138, 75, 0.3); /* Focus ring */
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Utility classes (complementing Tailwind) */
.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.icon-minimalist {
    stroke: var(--text-primary-color);
    stroke-width: 2;
    fill: none;
}

/* Custom Animations (subtle, elegant) */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s var(--transition-ease) forwards;
    opacity: 0; /* Hidden by default */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    .btn {
        width: 100%;
        margin-bottom: var(--spacing-sm);
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}