/* 
* Acro Winds - Website Styles
* Apple-inspired design for the Acro Winds App
*/

:root {
    /* Light mode variables (default) */
    --primary-color: #0071e3;
    --primary-dark: #0051a8;
    --secondary-color: #86c2ff;
    --text-color: #1d1d1f;
    --text-light: #86868b;
    --background-color: #ffffff;
    --background-alt: #f5f5f7;
    --border-color: #d2d2d7;
    --card-background: #ffffff;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
    --header-background: rgba(255, 255, 255, 0.8);
    --header-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    --header-shadow-scroll: 0 4px 20px rgba(0, 0, 0, 0.1);
    
    /* Common variables */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 72px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Dark mode variables */
.dark-mode {
    --primary-color: #0a84ff;
    --primary-dark: #409cff;
    --secondary-color: #0055b0;
    --text-color: #f5f5f7;
    --text-light: #a1a1a6;
    --background-color: #000000;
    --background-alt: #1c1c1e;
    --border-color: #38383a;
    --card-background: #2c2c2e;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.3);
    --header-background: rgba(0, 0, 0, 0.8);
    --header-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    --header-shadow-scroll: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

body {
    font-family: 'Ubuntu Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.5;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.flip-horizontally {
    transform: scaleX(-1);
  }
  
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--header-background);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--header-shadow);
    padding: var(--spacing-sm) 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: var(--spacing-md);
    margin-right: var(--spacing-xs);
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

.cta-button {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

.cta-button:hover {
    background-color: var(--primary-dark);
}

/* Dark Mode Toggle */
.theme-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dark-mode .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: var(--text-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, rgba(245,245,247,0) 0%, var(--background-alt) 100%);
    padding: var(--spacing-xl) 0;
}

.dark-mode .hero {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, var(--background-alt) 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(90deg, var(--primary-color), #42b4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    font-weight: 600;
}

.hero-content h3 {
    font-size: 2.0rem;
    font-weight: 600;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-height: 600px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

.dark-mode .hero-image img {
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

.cta {
    margin-top: var(--spacing-md);
}

.app-store-button img {
    height: 48px;
    transition: var(--transition);
}

.app-store-button:hover img {
    transform: scale(1.05);
}

/* Features Section */
.features {
    background-color: var(--background-alt);
    text-align: center;
}

.features h2 {
    margin-bottom: var(--spacing-lg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.feature-icon {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    height: 80px;
    width: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-bottom: var(--spacing-sm);
    color: white;
    padding-bottom: 16px;
}

.feature-icon img {
    display: block;
}


/* Download Section */
.download {
    background-color: var(--background-alt);
    text-align: center;
}

.download h2 {
    margin-bottom: var(--spacing-xs);
}

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

/* Footer */
footer {
    background-color: var(--background-color);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

footer p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .desktop-only {
        display: none;
    }

    .hide-on-mobile {
        display: none;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image img {
        max-height: 400px;
    }

    .about-content {
        text-align: left;
    }

    .hide-on-mobile {
        display: none;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    :root {
        --spacing-xl: 48px;
        --spacing-lg: 32px;
    }
    
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
    }

    .hero-image img {
        max-height: 320px;
    }

    .hide-on-mobile {
        display: none;
        margin: 0 auto;
    }
}

/* Mobile-first adjustments for smaller screens */
@media (max-width: 767px) {
    /* Center the app-store-button */
    .cta {
        text-align: center;
    }
    .cta .app-store-button {
        display: inline-block;
        margin: 0 auto;
    }
    .hide-on-mobile {
        display: none;
        margin: 0 auto;
    }
    /* Enlarge the hero image on mobile so it fills more of the screen */
    .hero-image img {
        max-height: 80vh;
        width: 100%;
        object-fit: contain;
    }
} 