/* ===================================
   CSS Variables - Color Palette
   =================================== */
:root {
    /* Primary Colors */
    --slate-blue: #64748b;
    --muted-orange: #ea8c55;
    
    /* Text Colors */
    --dark-charcoal: #1e293b;
    --medium-gray: #64748b;
    
    /* Background Colors */
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #f1f5f9;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 1.125rem;
    --font-size-small: 1rem;
    --font-size-h3: 1.5rem;
    --font-size-h2: 2rem;
    --font-size-h1: 3rem;
    --line-height: 1.6;
    
    /* Layout */
    --max-width: 800px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* ===================================
   Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--dark-charcoal);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Background Animation
   =================================== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    animation: breathe 20s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

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

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--slate-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--muted-orange);
}

/* ===================================
   Layout Components
   =================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.section-title {
    color: var(--slate-blue);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--white);
    position: relative;
}

.hero-title {
    font-size: 2rem;
    font-weight: 400;
    color: var(--dark-charcoal);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--slate-blue);
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

.hero-subtitle {
    font-size: var(--font-size-base);
    color: var(--medium-gray);
    margin-bottom: var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--slate-blue);
    text-decoration: none;
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--muted-orange);
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background-color: var(--slate-blue);
    color: var(--white);
    border-color: var(--slate-blue);
}

.btn-primary:hover {
    background-color: var(--dark-charcoal);
    border-color: var(--dark-charcoal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--slate-blue);
    border-color: var(--slate-blue);
}

.btn-secondary:hover {
    background-color: var(--slate-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.2);
}

.btn-download {
    background-color: var(--muted-orange);
    color: var(--white);
    border-color: var(--muted-orange);
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.btn-download:hover {
    background-color: #d67943;
    border-color: #d67943;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 140, 85, 0.4);
}

/* ===================================
   About Section
   =================================== */
.about {
    background-color: var(--off-white);
}

.about-content {
    font-size: var(--font-size-base);
    color: var(--dark-charcoal);
}

.about-content p {
    margin-bottom: var(--spacing-md);
}

/* ===================================
   Contact Section (Footer)
   =================================== */
.contact {
    background-color: var(--off-white);
    padding: var(--spacing-md) 0;
}

.copyright {
    text-align: center;
    color: var(--medium-gray);
    font-size: var(--font-size-small);
    margin: 0;
}

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

/* Tablet (768px and below) */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.25rem;
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.125rem;
        --font-size-base: 1rem;
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
        --spacing-md: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile (320px and below) */
@media (max-width: 320px) {
    :root {
        --font-size-h1: 1.75rem;
        --spacing-md: 1rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid var(--slate-blue);
    outline-offset: 4px;
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .hero-buttons,
    .scroll-indicator,
    .background-container {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
    
    section {
        page-break-inside: avoid;
    }
}
