/* Homepage Styles */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 180px 0 0;
    margin-bottom: 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.8;
}

.shape--yellow-circle {
    width: 300px;
    height: 300px;
    background: #FCE414;
    border-radius: 50%;
    top: 10%;
    right: 15%;
    filter: blur(100px);
}

.shape--purple-blob {
    width: 400px;
    height: 400px;
    background: #8B5CF6;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    bottom: 20%;
    left: 10%;
    filter: blur(100px);
}

.hero .container {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
}

.hero__content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: center;
    padding: 30px 0 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    margin-bottom: 24px;
}

.price-tag {
    background: rgba(252, 228, 20, 0.1);
    border: 1px solid rgba(252, 228, 20, 0.25);
    color: #1D1D1D;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.price-tag__label {
    font-weight: 400;
    opacity: 0.8;
}

.price-tag__amount {
    font-weight: 700;
    font-size: 20px;
    margin: 0 2px;
}

.price-tag__period {
    font-weight: 400;
    opacity: 0.8;
    font-size: 14px;
}

.hero__title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #1D1D1D;
}

.text-highlight {
    color: #FCE414;
}

.hero__subtitle {
    font-size: 24px;
    color: #666;
    margin-bottom: 16px;
}

.hero__description {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero__features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.hero__feature {
    padding: 8px 0;
    font-size: 16px;
    color: #1D1D1D;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-card__title {
    font-size: 24px;
    margin-bottom: 8px;
    color: #1D1D1D;
}

.form-card__subtitle {
    color: #666;
    margin-bottom: 24px;
}

.quick-contact-form .form-group {
    margin-bottom: 16px;
}

.quick-contact-form .form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.quick-contact-form .form-control:focus {
    border-color: #FCE414;
    box-shadow: 0 0 0 3px rgba(252, 228, 20, 0.1);
    outline: none;
}

/* Services Section */
.services {
    padding: 80px 0;
}

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

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #1D1D1D;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: #666;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.icon-emoji {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
}

.service-card__title {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1D1D1D;
}

.service-card__description {
    color: #666;
    line-height: 1.6;
}

/* Packages Section */
.packages-preview {
    padding: 80px 0;
}

.bg--light-gray {
    background: #F4F4F4;
}

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

.package-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.package-card--popular {
    border-color: #FCE414;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #FCE414;
    color: #1D1D1D;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.package-card__title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1D1D1D;
}

.package-card__price {
    margin-bottom: 30px;
}

.package-card__price .price {
    font-size: 48px;
    font-weight: 700;
    color: #FCE414;
}

.package-card__price .currency {
    font-size: 20px;
    color: #666;
}

.package-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.package-card__features li {
    padding: 8px 0;
    color: #666;
}

.packages-cta {
    text-align: center;
    margin-top: 60px;
}

/* How it Works */
.how-it-works {
    padding: 80px 0;
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #FCE414;
    color: #1D1D1D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1D1D1D;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 0;
}

.bg--primary {
    background: #FCE414;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 40px;
    margin-bottom: 16px;
    color: #1D1D1D;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    color: #1D1D1D;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
    font-family: inherit;
    text-align: center;
}

.btn--primary {
    background: #FCE414;
    color: #1D1D1D;
}

.btn--primary:hover {
    background: #1D1D1D;
    color: #FCE414;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn--secondary {
    background: transparent;
    color: #1D1D1D;
    border: 2px solid #1D1D1D;
}

.btn--secondary:hover {
    background: #1D1D1D;
    color: #fff;
}

.btn--dark {
    background: #1D1D1D;
    color: white;
}

.btn--dark:hover {
    background: #333;
}

.btn--large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn--full {
    width: 100%;
}

/* Utilities */
.section {
    padding: 80px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 40px;
        min-height: calc(100vh - 80px);
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero__form {
        order: -1;
    }
    
    .form-card {
        padding: 30px 20px;
    }
    
    .services-grid,
    .packages-grid,
    .steps-timeline {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
}

/* Particles - Water drops effect */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(252, 228, 20, 0.7);
    border-radius: 50%;
    animation: float-up 15s infinite linear;
    filter: blur(0.5px);
    box-shadow: 0 0 10px rgba(252, 228, 20, 0.3);
}

.particle::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

/* Distribute particles across the screen with random delays */
.particle--1 { left: 5%; animation: float-up-1 12s infinite linear; animation-delay: 0s; }
.particle--2 { left: 15%; animation: float-up-2 15s infinite linear; animation-delay: 2.5s; }
.particle--3 { left: 25%; animation: float-up-3 18s infinite linear; animation-delay: 0.8s; }
.particle--4 { left: 35%; animation: float-up-1 14s infinite linear; animation-delay: 4.2s; }
.particle--5 { left: 45%; animation: float-up-2 16s infinite linear; animation-delay: 1.5s; }
.particle--6 { left: 55%; animation: float-up-3 13s infinite linear; animation-delay: 3.3s; }
.particle--7 { left: 65%; animation: float-up-1 17s infinite linear; animation-delay: 0.3s; }
.particle--8 { left: 75%; animation: float-up-2 15s infinite linear; animation-delay: 2.8s; }
.particle--9 { left: 85%; animation: float-up-3 12s infinite linear; animation-delay: 1.2s; }
.particle--10 { left: 95%; animation: float-up-1 14s infinite linear; animation-delay: 3.7s; }
.particle--11 { left: 10%; animation: float-up-2 16s infinite linear; animation-delay: 0.5s; }
.particle--12 { left: 20%; animation: float-up-3 15s infinite linear; animation-delay: 2.1s; }
.particle--13 { left: 30%; animation: float-up-1 13s infinite linear; animation-delay: 1.8s; }
.particle--14 { left: 40%; animation: float-up-2 17s infinite linear; animation-delay: 3.0s; }
.particle--15 { left: 50%; animation: float-up-3 14s infinite linear; animation-delay: 0.9s; }

/* Vary particle sizes */
.particle:nth-child(odd) {
    width: 4px;
    height: 4px;
}

.particle:nth-child(3n) {
    width: 8px;
    height: 8px;
}

/* Different float animations for variety */
@keyframes float-up-1 {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateX(10px) scale(1);
    }
    50% {
        transform: translateX(-10px) scale(1.1);
    }
    90% {
        opacity: 1;
        transform: translateX(5px) scale(0.9);
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(0) scale(0.5);
    }
}

@keyframes float-up-2 {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    15% {
        opacity: 1;
        transform: translateX(-15px) scale(1);
    }
    45% {
        transform: translateX(12px) scale(0.9);
    }
    75% {
        transform: translateX(-8px) scale(1.2);
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(0) scale(0.3);
    }
}

@keyframes float-up-3 {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translateX(5px) scale(1.1);
    }
    40% {
        transform: translateX(-20px) scale(1);
    }
    60% {
        transform: translateX(15px) scale(0.8);
    }
    80% {
        transform: translateX(-5px) scale(1.1);
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(0) scale(0.4);
    }
}

/* Typewriter effect */
.typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end);
}

.typewriter-complete {
    animation: none;
    overflow: visible;
    white-space: normal;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Responsive adjustments for hero spacing */
@media (max-width: 1200px) {
    .hero {
        padding: 160px 0 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 20px;
        min-height: auto;
        height: auto;
    }
    
    .hero .container {
        padding-top: 10px;
        flex: 1;
        display: flex;
        align-items: flex-start;
    }
    
    .hero__content {
        padding-top: 10px;
    }
    
    .hero__title {
        font-size: clamp(32px, 8vw, 48px);
        margin-bottom: 12px;
    }
    
    .hero__subtitle {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .hero__description {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .hero__features {
        margin-bottom: 24px;
    }
    
    .price-tag {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .price-tag__amount {
        font-size: 18px;
    }
    
    /* Smanji veličinu čestica na mobitelu */
    .particle {
        width: 4px;
        height: 4px;
    }
    
    .particle:nth-child(3n) {
        width: 6px;
        height: 6px;
    }
    
    /* Packages slider za mobitel */
    .packages-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 20px;
        margin: 40px -20px;
    }
    
    .packages-grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .packages-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .packages-grid::-webkit-scrollbar-thumb {
        background: #FCE414;
        border-radius: 3px;
    }
    
    .package-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 10px;
        height: auto;
        min-height: auto;
    }
    
    .hero .container {
        padding-top: 5px;
        padding-bottom: 20px;
    }
    
    .hero__content {
        padding-top: 0;
    }
    
    .hero__badge {
        margin-bottom: 16px;
    }
    
    .hero__title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .form-card {
        padding: 24px 16px;
    }
    
    .form-card__title {
        font-size: 20px;
    }
    
    /* Skrivanje nekih čestica na malim ekranima */
    .particle:nth-child(n+10) {
        display: none;
    }
    
    /* Hero section spacing */
    .section:first-of-type {
        padding-top: 20px;
    }
}
}