/* Front Page Specific Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(45, 74, 61, 0.8), rgba(139, 195, 74, 0.8)), 
                url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2560&q=80') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

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

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #8bc34a;
    color: white;
}

.btn-primary:hover {
    background: #7cb342;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.4);
}

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

.btn-secondary:hover {
    background: white;
    color: #2d4a3d;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2d4a3d;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.features-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.features-column.left {
    text-align: right;
}

.features-column.right {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.features-column.left .feature-item {
    flex-direction: row-reverse;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8bc34a, #7cb342);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
    padding: 14px;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #2d4a3d;
}

.feature-content p {
    color: #666;
    margin: 0;
}

.features-image {
    width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.features-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2d4a3d;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 30px;
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8bc34a, #7cb342);
    border-radius: 50%;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.service-icon i {
    font-size: 40px;
    color: white;
}

.icon-arboristika,
.icon-visinska,
.icon-urejanje {
    width: 40px;
    height: 40px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2d4a3d;
    font-weight: 600;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    background: #8bc34b13;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #8bc34b59;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8bc34a;
    font-weight: bold;
}

.service-link {
    display: inline-block;
    color: #8bc34a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #7cb342;
}

.services-cta {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
}

.services-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #2d4a3d;
}

.services-cta p {
    color: #666;
    margin-bottom: 25px;
}

.btn-large {
    padding: 18px 35px;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
}

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

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2d4a3d;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.testimonial-slide:not(.active) {
    display: none;
}

.testimonial-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-text {
    margin-bottom: 30px;
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: #8bc34a;
    margin-bottom: 20px;
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

.testimonial-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8bc34a, #7cb342);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0 0 5px 0;
    color: #2d4a3d;
    font-size: 1.1rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #ffc107;
    font-size: 1.1rem;
}

.testimonials-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    background: #8bc34a;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #7cb342;
    transform: scale(1.1);
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.nav-btn svg {
    width: 20px;
    height: 20px;
}

.testimonials-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #8bc34a;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

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

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2d4a3d;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2d4a3d;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #8bc34a;
}

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

.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: #8bc34a;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.submit-btn {
    background: #8bc34a;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #7cb342;
    transform: translateY(-2px);
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    height: fit-content;
}

.contact-info h3 {
    color: #2d4a3d;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #8bc34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-text {
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-column.left {
        text-align: center;
    }
    
    .features-column.right {
        text-align: center;
    }
    
    .features-column.left .feature-item {
        flex-direction: row;
    }
    
    .features-image {
        width: 250px;
        height: 300px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: -1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .features,
    .services,
    .testimonials,
    .contact {
        padding: 60px 0;
    }
    
    .features h2,
    .services h2,
    .testimonials h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .features-column.left .feature-item {
        flex-direction: column;
    }
    
    .contact-form {
        padding: 20px;
    }
} 