
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: rgb(255, 147, 51);
    --primary-hover: rgb(173, 91, 17);
    --secondary-color: #64748b;
    --accent-color: rgb(173, 91, 17);
    --background-primary: #ffffff;
    --background-secondary: #f8fafc;
    --background-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all var(--transition-fast);
}

.logo:hover img {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.25rem;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

nav a:hover {
    background: var(--background-secondary);
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

nav a:hover::after,
nav a.active::after {
    width: 80%;
}

nav a.active {
    background: var(--background-secondary);
    color: var(--primary-color);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: var(--background-primary);
    color: var(--text-primary);
}

.hero video.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 2;
}

.hero-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.hero-split img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-normal);
}

.hero-split img:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Typography */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    margin-top: 1rem;
    min-width: 120px;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.grid li {
    background: var(--background-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    list-style: none;
}

.grid li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Forms */
.flash {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--background-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form input,
.form select,
.form textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--background-primary);
    font-family: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 1rem;
}

.form button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Images */
.about-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--background-tertiary);
    color: var(--text-secondary);
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

/* Animations */
.animate {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate.show {
    opacity: 1;
}

.fade-up { 
    transform: translateY(30px); 
}

.fade-up.show { 
    transform: translateY(0); 
}

.slide-left { 
    transform: translateX(-30px); 
}

.slide-left.show { 
    transform: translateX(0); 
}

.slide-right { 
    transform: translateX(30px); 
}

.slide-right.show { 
    transform: translateX(0); 
}

.slide-down { 
    transform: translateY(-30px); 
}

.slide-down.show { 
    transform: translateY(0); 
}

.zoom { 
    transform: scale(0.95); 
}

.zoom.show { 
    transform: scale(1); 
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

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

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Mobile-specific utilities */
.mobile-hidden {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .mobile-hidden {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .text-sm-center {
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }
    
    .header-content {
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
    }
    
    .logo img {
        height: 35px;
    }
    
    .burger {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--background-primary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding: 2rem 0;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }
    
    nav ul.active {
        transform: translateX(0);
    }
    
    nav a {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    main {
        padding: 1rem;
    }
    
    .hero {
        min-height: 90vh;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: none;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .grid li {
        padding: 1.5rem;
    }
    
    .form {
        width: 100%;
        max-width: none;
        margin: 1rem 0;
        padding: 1.5rem;
        box-sizing: border-box;
    }
    
    .form input,
    .form select,
    .form textarea {
        padding: 1rem;
        font-size: 1rem;
        min-height: 44px; /* Better touch targets */
    }
    
    .form button {
        padding: 1rem 2rem;
        min-height: 48px;
    }
    
    .btn {
        padding: 1rem 2rem;
        min-height: 48px;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem;
    }
    
    .header-content {
        gap: 0.75rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    nav ul {
        top: 70px;
        height: calc(100vh - 70px);
        padding: 1.5rem 0;
    }
    
    nav a {
        width: 100%;
        padding: 1rem;
        margin: 0;
    }
    
    .hero {
        min-height: 85vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 1.5rem 0.75rem;
    }
    
    .hero-split {
        gap: 1.5rem;
    }
    
    .hero-split img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .btn {
        width: 100%;
        margin: 0.5rem 0;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .form {
        width: 100%;
        margin: 0.5rem 0;
        padding: 1rem;
        box-sizing: border-box;
    }
    
    .form label {
        gap: 0.25rem;
    }
    
    .grid li {
        padding: 1.25rem;
    }
    
    h1 {
        font-size: 1.75rem;
        margin-bottom: 0.875rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    footer {
        padding: 2rem 1rem;
    }
}

/* Print Styles */
@media print {
    .hero video.bg {
        display: none;
    }
    
    .animate {
        opacity: 1 !important;
        transform: none !important;
    }
    
    nav, footer {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animate {
        opacity: 1;
        transform: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-primary: #0f172a;
        --background-secondary: #1e293b;
        --background-tertiary: #334155;
        --text-primary: #f8fafc;
        --text-secondary: #cbd5e1;
        --text-muted: #94a3b8;
        --border-color: #334155;
    }
    
    header {
        background: rgba(15, 23, 42, 0.95);
    }
    
    header.scrolled {
        background: rgba(15, 23, 42, 0.98);
    }
}
