/* --- VARIABLES --- */
:root {
    --primary-color: #0d9488;
    /* Emerald Green/Teal */
    --primary-dark: #0f766e;
    --secondary-color: #f59e0b;
    /* Warm Yellow/Orange */
    --secondary-dark: #d97706;
    --accent-red: #ef4444;
    /* Parrot Red */
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.accent-line {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-red));
    margin: 10px 0 20px 0;
    border-radius: 2px;
}

.center-line {
    margin: 10px auto 20px auto;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* --- NAVBAR --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo,
header.scrolled .nav-links a {
    color: var(--text-dark);
}

header.scrolled .nav-links a:hover {
    color: var(--primary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.logo i {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

header.scrolled .hamburger {
    color: var(--text-dark);
}

/* --- HERO --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(13, 148, 136, 0.6), rgba(30, 41, 59, 0.8)), url('img/pic1.') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    max-width: 800px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- ABOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.highlights {
    margin-top: 20px;
}

.highlights li {
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlights i {
    color: var(--secondary-color);
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --- FEATURES (WHY CHOOSE US) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* --- BIRDS (CARDS) --- */
.birds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.bird-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.bird-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.15);
}

.bird-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.bird-info {
    padding: 25px;
}

.bird-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.bird-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.price {
    display: inline-block;
    padding: 5px 15px;
    background: var(--bg-light);
    color: var(--secondary-dark);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: var(--bg-light);
    padding: 15px;
    border-radius: 50%;
    height: max-content;
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
}

.map-placeholder {
    background: var(--bg-light);
    height: 200px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 2px dashed #cbd5e1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* --- FOOTER --- */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-col p {
    color: #cbd5e1;
    max-width: 300px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* --- ANIMATIONS & MEDIA QUERIES --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.appear {
    opacity: 1;
    transform: translate(0);
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about-text {
        padding: 0 16px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        padding: 0 20px; /* Dodaje razmak levo i desno od slike na mobilnom */
        margin-top: 20px; /* Dodaje malo razmaka između teksta iznad i slike */
    }

    .about-image img {
        width: 100%;
        border-radius: 15px; /* Malo mekše ivice za mobilni */
    }

    .about-image {
        order: -1;
    }

    /* Image on top on mobile */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease;
    }

    .about-image {
        padding: 0 20px; /* Dodaje razmak levo i desno od slike na mobilnom */
        margin-top: 20px; /* Dodaje malo razmaka između teksta iznad i slike */
    }

    .about-image img {
        width: 100%;
        border-radius: 15px; /* Malo mekše ivice za mobilni */
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        color: var(--text-dark);
        font-size: 1.2rem;
    }

    .about-text {
        padding: 0 16px;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col p {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }
}