/* ==================== */
/* CSS RESET & VARIABLES */
/* ==================== */

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

:root {
    /* Colors */
    --primary-color: #FF6B9D;
    --secondary-color: #C06C84;
    --accent-color: #F67280;
    --dark-color: #355C7D;
    --light-color: #F8B195;
    --white: #FFFFFF;
    --off-white: #FFF8F3;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-small: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ==================== */
/* NAVIGATION */
/* ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-medium);
}

.navbar.scrolled {
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.logo-image {
    height: 50px;
    width: auto;
    transition: var(--transition-fast);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-fast);
    border-radius: 3px;
}

/* ==================== */
/* HERO SECTION */
/* ==================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('naslovna.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 50%, rgba(240, 147, 251, 0.2) 100%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-title-main {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title-accent {
    font-family: var(--font-heading);
    font-size: 96px;
    font-weight: 900;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FF69B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    opacity: 0.95;
}

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

.btn {
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--text-dark);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

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

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

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
    width: 100%;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 24px;
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==================== */
/* SECTIONS */
/* ==================== */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding: 8px 20px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

/* ==================== */
/* ABOUT SECTION */
/* ==================== */

.about {
    padding: var(--section-padding);
    background: var(--off-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-description {
    font-size: 18px;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 50px;
    text-align: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-small);
    transition: var(--transition-fast);
}

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

.feature-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* ==================== */
/* GALLERY SECTION */
/* ==================== */

.gallery {
    padding: var(--section-padding);
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-small);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: var(--transition-fast);
    color: var(--white);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* ==================== */
/* SERVICES SECTION */
/* ==================== */

.services {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-small);
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==================== */
/* TESTIMONIALS SECTION */
/* ==================== */

.testimonials {
    padding: var(--section-padding);
    background: var(--off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-small);
    transition: var(--transition-fast);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.stars {
    font-size: 20px;
    margin-bottom: 20px;
    color: #FFD700;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
}

/* ==================== */
/* CONTACT SECTION */
/* ==================== */

.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 100px;
}

.contact-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-method strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-method p {
    color: var(--text-light);
}

.contact-form-wrapper {
    background: var(--off-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 16px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 16px;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==================== */
/* FOOTER */
/* ==================== */

.footer {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0;
    line-height: 1.8;
}

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

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: var(--transition-fast);
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== */
/* RESPONSIVE DESIGN */
/* ==================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        padding: 40px 0;
        box-shadow: var(--shadow-large);
        transition: var(--transition-fast);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title-main {
        font-size: 40px;
    }
    
    .hero-title-accent {
        font-size: 60px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        position: static;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 640px) {
    .logo-image {
        height: 40px;
    }
    
    .hero-title-main {
        font-size: 32px;
    }
    
    .hero-title-accent {
        font-size: 48px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== */
/* ANIMATIONS */
/* ==================== */

.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease;
}

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

.slide-in-right {
    animation: slideInRight 0.8s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==================== */
/* UTILITY CLASSES */
/* ==================== */

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

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

