/* Main Styles for SUP s Granátami website */

/* Base Styles & Reset */
:root {
    --primary-color: #0066CC;
    --primary-dark: #003366;
    --primary-light: #4D94FF;
    --secondary-color: #FFD700;
    --secondary-dark: #D4AF37;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #FFFFFF;
    --background-light: #F8F9FA;
    --background-dark: #E9ECEF;
    --border-color: #DDDDDD;
    --success-color: #28a745;
    --error-color: #dc3545;
    --border-radius: 5px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    text-decoration: none;
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.btn-text {
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
}

.btn-text:hover {
    background-color: rgba(0, 102, 204, 0.1);
    text-decoration: none;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 10px;
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    background-color: var(--background-light);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* About Section */
.about {
    background-color: var(--background-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Services Section */
.services {
    background-color: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Why Choose Us Section */
.why-us {
    background-color: var(--background-color);
}

.why-us-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.why-us-text {
    flex: 1;
}

.why-us-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--background-light);
}

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

.testimonial-slide {
    display: none;
}

.testimonial-slide:first-child {
    display: block;
}

.testimonial-content {
    background-color: var(--background-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 auto;
    max-width: 800px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Blog Preview Section */
.blog-preview {
    background-color: var(--background-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    padding: 4rem 0;
    color: white;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
}

.newsletter-form {
    margin-top: 2rem;
}

.form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-check {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    text-align: left;
}

.form-check input {
    margin-top: 0.25rem;
}

.form-check a {
    color: white;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background-color: var(--background-light);
}

.contact-content {
    display: flex;
    gap: 2rem;
}

.contact-info {
    flex: 1;
}

.contact-map {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-form {
    flex: 1;
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label {
    font-weight: 500;
}

.contact-form input, 
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    width: 100%;
}

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

.contact-form .form-check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-form .form-check input {
    width: auto;
    margin-top: 0.25rem;
}

.contact-form .form-submit {
    margin-top: 1rem;
}

.contact-form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.contact-form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.contact-form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #d32f2f;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-legal {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal ul {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem 1.5rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 0;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .hero .container,
    .about-content,
    .why-us-content,
    .contact-content {
        flex-direction: column;
    }

    .hero-image,
    .about-image,
    .why-us-image {
        margin-top: 2rem;
        justify-content: center;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
    }

    .footer-social {
        margin-bottom: 1rem;
    }

    .footer-legal ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
