/* Import color variables */
@import url('colors.css');

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

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Section Styles */
.section {
    padding: 5rem 0;
    position: relative;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Glass morphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}

/* Gradient text - Professional version */
.gradient-text {
    color: var(--accent-primary);
}

/* Buttons */
.download-btn {
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-light);
    border: 2px solid var(--accent-primary);
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    box-shadow: 0 4px 12px var(--shadow-medium);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Animations - Subtle and Professional */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    line-height: 1.7;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Responsive Design */

/* Extra Small Devices (phones, 320px and up) */
@media (max-width: 480px) {
    .section {
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* Small Devices (landscape phones, 481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .section {
        padding: 2.5rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Medium Devices (tablets, 769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .section {
        padding: 3.5rem 0;
    }
}

/* Large Devices (desktops, 1025px to 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .section {
        padding: 4rem 0;
    }
}

/* Extra Large Devices (large desktops, 1441px and up) */
@media (min-width: 1441px) {
    .section {
        padding: 5rem 0;
    }
}

/* Landscape Orientation for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .section {
        padding: 1.5rem 0;
    }
}

/* Utility Classes */
.shadow-professional {
    box-shadow: 0 2px 8px var(--shadow-light);
}

.shadow-professional-lg {
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.border-professional {
    border: 1px solid var(--border-light);
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    nav,
    footer {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
}
