/* 
* Bylinkový Harmónia - Main Stylesheet
* Colors:
* - Green: #A8C686
* - Amber: #FFBA49
* - Coral: #F26430
* - Off White: #FDFBF6
* - Graphite: #2E2E2E
*/

/* ===== RESET AND BASE STYLES ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2E2E2E;
    background-color: #FDFBF6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #A8C686;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #F26430;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFBA49;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

section {
    padding: 4rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #F26430;
    color: #FDFBF6;
}

.btn-primary:hover {
    background-color: #e55926;
    color: #FDFBF6;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(242, 100, 48, 0.3);
}

.btn-secondary {
    background-color: #A8C686;
    color: #2E2E2E;
}

.btn-secondary:hover {
    background-color: #97b877;
    color: #2E2E2E;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(168, 198, 134, 0.3);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 251, 246, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo-svg {
    display: block;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #2E2E2E;
    height: 2px;
    width: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-list a {
    color: #2E2E2E;
    font-weight: 500;
    position: relative;
}

.nav-list a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #A8C686;
    transition: width 0.3s ease;
}

.nav-list a:not(.btn):hover::after {
    width: 100%;
}

.nav-list .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background-color: #FDFBF6;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    z-index: 9999;
    animation: slideUp 0.5s ease forwards;
}

.cookie-popup-header h3 {
    margin-bottom: 0.5rem;
    color: #2E2E2E;
}

.cookie-popup-text {
    margin-bottom: 1rem;
}

.cookie-popup-text p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cookie-popup-actions {
    display: flex;
    justify-content: flex-end;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translate(-50%, 100px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(to right, rgba(168, 198, 134, 0.3), rgba(255, 186, 73, 0.3));
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: #2E2E2E;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: #FDFBF6;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-text {
    max-width: 800px;
    text-align: center;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    background-color: #f5f5f0;
}

.benefits-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background-color: #FDFBF6;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: #2E2E2E;
    margin-bottom: 1rem;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background-color: #FDFBF6;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background-color: #A8C686;
    display: none;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #A8C686;
    color: #FDFBF6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

@media (min-width: 992px) {
    .step:not(:last-child)::after {
        display: block;
    }
}

/* ===== PRODUCTS SECTION ===== */
.products {
    background-color: #f5f5f0;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: #FDFBF6;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h3,
.product-card p,
.product-card .price,
.product-card .btn {
    padding: 0 1.5rem;
}

.product-card h3 {
    margin-top: 1.5rem;
    color: #2E2E2E;
}

.product-card p {
    color: #666;
}

.product-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #F26430;
    margin: 0.8rem 0;
}

.product-card .btn {
    margin: 0 1.5rem 1.5rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: #FDFBF6;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: #f5f5f0;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 5rem;
    font-family: 'Merriweather', serif;
    color: rgba(168, 198, 134, 0.2);
    line-height: 1;
}

.testimonial-text {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: 1.5rem;
    text-align: right;
}

/* ===== ORDER FORM SECTION ===== */
.order-form {
    background-color: #f5f5f0;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Ubuntu', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #A8C686;
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 198, 134, 0.2);
}

.radio-group,
.checkbox-group {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.radio-group input,
.checkbox-group input {
    margin-right: 10px;
}

button[type="submit"] {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    cursor: pointer;
}

/* ===== FAQ SECTION ===== */
.faq {
    background-color: #FDFBF6;
}

.faq-items {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 1.5rem 0;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question {
    color: #F26430;
}

.faq-toggle:checked + .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: #f5f5f0;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.contact-item h3 {
    margin-bottom: 1rem;
    color: #2E2E2E;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-map img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .contact-content {
        flex-direction: row;
    }
    
    .contact-info {
        flex: 1;
    }
    
    .contact-map {
        flex: 1;
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: #2E2E2E;
    color: #FDFBF6;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    text-align: center;
}

.footer-logo-svg {
    margin-bottom: 1rem;
}

.footer-description {
    max-width: 400px;
    margin: 0 auto;
    color: #bbb;
    font-size: 0.9rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
}

.footer-nav-section h3 {
    color: #FDFBF6;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-nav-section ul li {
    margin-bottom: 0.8rem;
}

.footer-nav-section ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer-nav-section ul li a:hover {
    color: #A8C686;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

@media (min-width: 992px) {
    .footer-content {
        flex-direction: row;
    }
    
    .footer-logo {
        flex: 1;
        text-align: left;
    }
    
    .footer-description {
        margin: 0;
    }
    
    .footer-nav {
        flex: 2;
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .nav-toggle-label {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #FDFBF6;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem;
        text-align: center;
    }
    
    .nav-list a:not(.btn)::after {
        display: none;
    }
    
    .nav-list .btn {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .nav-toggle:checked ~ .nav {
        height: auto;
    }
    
    .nav-toggle:checked + .nav-toggle-label span {
        background: transparent;
    }
    
    .nav-toggle:checked + .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle:checked + .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        min-height: auto;
    }
    
    .hero-content {
        padding: 6rem 0 4rem;
    }
    
    .benefit-card,
    .product-card,
    .testimonial-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header {
        padding: 0.8rem 0;
    }
    
    .container {
        width: 100%;
    }
} 