/* Alină Durerea - Site Fericit */

/* 1. Variables & Happy Palette */
:root {
    --color-sun: #FFD93D;
    /* Bright Sunny Yellow */
    --color-sun-hover: #F6C90E;
    --color-sky: #6DD5FA;
    /* Cheerful Sky Blue */
    --color-sky-dark: #2980B9;
    --color-warmth: #FF6B6B;
    /* Soft Red/Orange Accent */
    --color-cloud: #F7F9FC;
    /* Off-white background */
    --color-text: #2D3436;
    /* Soft dark text */
    --color-white: #FFFFFF;

    --font-main: 'Quicksand', sans-serif;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius-bubble: 25px;
}

/* 2. Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-cloud);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* 3. Typography */
h1,
h2,
h3 {
    font-weight: 700;
    color: var(--color-sky-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* 4. Utilities & Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--color-sun);
    color: var(--color-text);
}

.btn-primary:hover {
    background-color: var(--color-sun-hover);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-sky-dark);
    border: 2px solid var(--color-sky);
}

.btn-secondary:hover {
    background-color: var(--color-sky);
    color: var(--color-white);
}

section {
    padding: 80px 0;
}

/* 5. Header */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-sky-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--color-warmth);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--color-text);
}

.nav-links a:hover {
    color: var(--color-sky-dark);
}

/* 6. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom,
            var(--color-sky) 0%,
            #E1F5FE 70%,
            #2980B9 70%,
            #2980B9 85%,
            #FFE082 85%,
            #FFD54F 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* Offset for fixed header */
}

.hero-content {
    flex: 1;
    padding-right: 50px;
    z-index: 1;
}

.hero-content h1 span {
    color: var(--color-warmth);
    display: block;
}

.hero-image {
    flex: 1;
    text-align: right;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--radius-bubble);
    box-shadow: var(--shadow-soft);
    animation: float 6s ease-in-out infinite;
}

/* 7. Cards (Services/Mission) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-bubble);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    background: #FFF9C4;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    color: var(--color-sun-hover);
}

/* 8. Footer */
footer {
    background: var(--color-text);
    color: var(--color-white);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(255, 217, 61, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
    }
}

.btn-primary.pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 60px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .nav-links {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        display: block;
        transform: translateY(0);
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-text);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}