/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #f4d03f;
    --warm-yellow: #f7dc6f;
    --dark-yellow: #f39c12;
    --orange-yellow: #e67e22;
    --light-yellow: #fef9e7;
    --accent-yellow: #f1c40f;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --border-color: #ecf0f1;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Global Link Styles */
a {
    color: var(--dark-yellow);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--orange-yellow);
}

/* Links in content areas */
p a,
li a,
.content a {
    color: var(--dark-yellow);
    text-decoration: none;
    position: relative;
    padding: 0 2px;
    transition: all 0.3s ease;
}

p a::after,
li a::after,
.content a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dark-yellow);
    transition: width 0.3s ease;
}

p a:hover,
li a:hover,
.content a:hover {
    color: var(--orange-yellow);
}

p a:hover::after,
li a:hover::after,
.content a:hover::after {
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

@media (min-width: 576px) {
    .container {
        padding: 0 20px;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--warm-yellow) 100%);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.tagline {
    color: var(--text-dark);
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dark-yellow);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--dark-yellow);
    transform: translateY(-2px);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-yellow) 0%, var(--warm-yellow) 100%);
    padding: 3rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-image {
    min-width: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--orange-yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

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

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

/* Features Section */
.features {
    padding: 3rem 0;
    background: var(--white);
}

@media (min-width: 768px) {
    .features {
        padding: 4rem 0;
    }
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

.feature-card {
    background: var(--light-yellow);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
    min-height: auto;
}

@media (min-width: 768px) {
    .feature-card {
        padding: 2rem;
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--primary-yellow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-yellow);
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1) rotate(5deg);
    color: var(--orange-yellow);
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .feature-card h3 {
        font-size: 1.3rem;
    }
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .feature-card p {
        font-size: 1rem;
    }
}

/* Calculator Section */
.calculator-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--warm-yellow) 0%, var(--light-yellow) 100%);
}

@media (min-width: 768px) {
    .calculator-section {
        padding: 4rem 0;
    }
}

.calculator {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    width: 100%;
}

@media (min-width: 576px) {
    .calculator {
        padding: 2rem;
    }
}

.calculator-input {
    margin-bottom: 1.5rem;
}

.calculator-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.calculator-input input,
.calculator-input select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.calculator-input input:focus,
.calculator-input select:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.calculator-result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-yellow);
    border-radius: 5px;
    display: none;
}

.calculator-result.show {
    display: block;
}

.calculator-result h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.calculator-result p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Composition Section */
.composition {
    padding: 3rem 0;
    background: var(--white);
}

@media (min-width: 768px) {
    .composition {
        padding: 4rem 0;
    }
}

.composition-visual {
    max-width: 800px;
    margin: 0 auto;
}

.composition-item {
    margin-bottom: 1rem;
}

.composition-bar {
    padding: 0.75rem 1rem;
    border-radius: 5px;
    color: var(--white);
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    white-space: nowrap;
    font-size: 0.95rem;
}

.composition-bar span {
    display: block;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 0.5rem;
    z-index: 1;
}

.composition-bar:hover {
    transform: scale(1.02);
}

/* На мобильных устройствах показываем текст снаружи если полоска узкая */
@media (max-width: 768px) {
    .composition-visual {
        padding: 0 0.5rem;
    }

    .composition-bar {
        min-height: 60px;
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .composition-bar span {
        white-space: normal;
        line-height: 1.3;
        padding: 0.25rem;
        text-align: center;
        width: 100%;
    }
    
    /* Для узких полосок показываем текст справа */
    .composition-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
    }
    
    .composition-bar {
        min-width: 70px;
        flex-shrink: 0;
        position: relative;
    }
    
    /* Показываем текст справа от полоски на мобильных */
    .composition-item::after {
        content: attr(data-label);
        flex: 1;
        min-width: 150px;
        color: var(--text-dark);
        font-weight: 600;
        font-size: 0.9rem;
        padding-left: 0.75rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .composition-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .composition-item::after {
        content: attr(data-label);
        padding-left: 0;
        padding-top: 0.5rem;
        text-align: center;
        min-width: auto;
        font-size: 0.85rem;
    }
    
    .composition-bar {
        width: 100% !important;
        min-width: auto;
    }
    
    .composition-bar span {
        font-size: 0.9rem;
    }
}

/* Distribution Map */
.distribution {
    padding: 3rem 0;
    background: var(--light-yellow);
}

@media (min-width: 768px) {
    .distribution {
        padding: 4rem 0;
    }
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
}

.map-placeholder {
    position: relative;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

.map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--dark-yellow);
    border: 3px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}

.marker:hover {
    transform: translate(-50%, -50%) scale(1.3);
    z-index: 10;
}

.marker::after {
    content: attr(data-city);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
}

.marker:hover::after {
    opacity: 1;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--warm-yellow) 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Products Page */
.products {
    padding: 4rem 0;
}

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

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-yellow);
}

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

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.product-age {
    color: var(--dark-yellow);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

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

/* Ingredients Page */
.ingredients {
    padding: 4rem 0;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ingredient-card {
    background: var(--light-yellow);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.ingredient-card:hover {
    transform: translateY(-5px);
}

.ingredient-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-yellow);
}

.ingredient-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    transition: transform 0.3s ease, color 0.3s ease;
}

.ingredient-card:hover .ingredient-icon svg {
    transform: scale(1.1) rotate(-5deg);
    color: var(--orange-yellow);
}

.ingredient-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.ingredient-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.ingredient-benefits {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ingredient-benefits span {
    background: var(--primary-yellow);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.nutrition-table {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    overflow-x: auto;
}

.nutrition-table h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.nutrition-table table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition-table th,
.nutrition-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.nutrition-table th {
    background: var(--light-yellow);
    color: var(--text-dark);
    font-weight: 600;
}

.nutrition-table tr:hover {
    background: var(--light-yellow);
}

/* Guide Page */
.guide {
    padding: 4rem 0;
}

.guide-steps {
    max-width: 900px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-yellow);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.step-content ul {
    margin-left: 1.5rem;
    color: var(--text-light);
}

.step-content li {
    margin-bottom: 0.5rem;
}

.tips-box {
    background: var(--light-yellow);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.tips-box h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--dark-yellow);
    transition: transform 0.3s ease, color 0.3s ease;
}

.tip-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.tip-item:hover .tip-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--orange-yellow);
}

.tip-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Page */
.faq {
    padding: 4rem 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: var(--light-yellow);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--warm-yellow);
}

.faq-question h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--dark-yellow);
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Page */
.contact {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-grid-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

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

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--dark-yellow);
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    color: var(--orange-yellow);
}

.contact-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--dark-yellow);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 0.2rem 0;
}

.contact-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dark-yellow);
    transition: width 0.3s ease;
}

.contact-item a:hover {
    color: var(--orange-yellow);
    transform: translateX(5px);
}

.contact-item a:hover::after {
    width: 100%;
}

.contact-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-form-container h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

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

/* Privacy Page */
.privacy {
    padding: 4rem 0;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.privacy-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-section ul {
    margin-left: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

.consent-form-section {
    background: var(--light-yellow);
    padding: 2rem;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.consent-form-section h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.consent-form-section > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 0.2rem 0;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-yellow);
    transform: translateX(3px);
}

.footer-section a:hover::after {
    width: 100%;
}

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

/* Image fallback styles */
img {
    max-width: 100%;
    height: auto;
}

img[src=""],
img:not([src]) {
    background: var(--light-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

img[src=""]::after,
img:not([src])::after {
    content: "Görsel yükleniyor...";
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--warm-yellow);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        box-shadow: 0 5px 20px var(--shadow);
        transition: max-height 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
    }

    .nav-menu.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .hero {
        padding: 2rem 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .contact-grid,
    .contact-grid-single {
        grid-template-columns: 1fr;
    }

    .guide-step {
        flex-direction: column;
    }

    .step-number {
        align-self: flex-start;
    }

    .products-grid,
    .ingredients-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .features-grid {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .calculator {
        padding: 1.25rem;
    }

    .composition-item {
        margin-bottom: 1rem;
    }

    .composition-bar {
        min-height: 55px;
        font-size: 0.8rem;
        padding: 0.4rem;
    }
}

