/* ==========================================
   LOVEMYDIET - Component Styles
   ========================================== */

/* ========== HEADER NOTIFICATION BAR ========== */
.notification-bar {
    background: linear-gradient(135deg, #FF5A65, #DC2B2B);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.notification-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

/* ========== NAVIGATION ========== */
.navbar {
    background: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 44px;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.navbar.scrolled {
    top: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #353731;
    text-decoration: none;
}

.logo-icon {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #353731;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:not(.book-btn):hover {
    color: #05C168;
}

.nav-menu a:not(.book-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #05C168;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:not(.book-btn):hover::after {
    width: 100%;
}

.book-btn {
    background: #05C168;
    color: white !important;
    padding: 12px 28px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid #05C168;
    font-weight: 600;
}

.book-btn:hover {
    background: #11845B;
    border-color: #11845B;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(5, 193, 104, 0.3);
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #191A17;
    transition: all 0.3s ease;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #8F9488;
    font-weight: 500;
    font-size: 0.95rem;
}

.lang-btn .flag {
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.lang-btn:hover {
    background: #F5FBF4;
    color: #353731;
}

.lang-btn:hover .flag {
    transform: scale(1.15);
}

.lang-btn.active {
    color: #05C168;
    font-weight: 600;
}

.lang-btn.active .flag {
    transform: scale(1.1);
}

.lang-divider {
    color: #DEE7DC;
    font-weight: 300;
    font-size: 1.2rem;
}

/* ========== HERO SECTION ========== */
.hero {
    background: #ffffff;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    padding: 140px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #FFFAF6;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInLeft 1s ease;
    padding-right: 20px;
}

.hero-tag {
    display: inline-block;
    background: #DEF2E6;
    color: #11845B;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid #7FDCA4;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a1a1a;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 540px;
}

.flag {
    display: inline-block;
    width: 28px;
    height: 19px;
    background: linear-gradient(to bottom, #009639 33%, white 33% 66%, #ff7900 66%);
    border-radius: 3px;
    margin: 0 4px 0 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    vertical-align: middle;
}

.hero-features {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
    font-size: 0.95rem;
}

.hero-feature i {
    color: #05C168;
    font-size: 1.1rem;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #8F9488;
    margin-top: 8px;
}

.hero-trust i {
    color: #05C168;
    font-size: 1rem;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.12);
    transition: transform 0.4s ease;
    object-fit: cover;
}

.hero-image:hover img {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0,0,0,0.15);
}

.google-rating {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.google-rating-logo {
    font-size: 1.1rem;
    font-weight: 700;
}

.rating-text {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.rating-reviews {
    color: #8F9488;
    font-size: 0.9rem;
}

/* ========== SERVICES SECTION ========== */
.services {
    padding: 100px 20px;
    background: #fff;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-header {
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: #191A17;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #8F9488;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:nth-child(1)::before {
    background: #1D88FE;
}

.service-card:nth-child(2)::before {
    background: #05C168;
}

.service-card:nth-child(3)::before {
    background: #FF5A65;
}

.service-card:nth-child(4)::before {
    background: #FF9E2C;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card:nth-child(1) .service-icon {
    background: #EAF4FF;
}

.service-card:nth-child(2) .service-icon {
    background: #DEF2E6;
}

.service-card:nth-child(3) .service-icon {
    background: #FFEFF0;
}

.service-card:nth-child(4) .service-icon {
    background: #FFF3E4;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #191A17;
    font-weight: 600;
}

.service-card p {
    color: #8F9488;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-link {
    color: #05C168;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 10px;
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: 100px 20px;
    background: #F5FBF4;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 30px;
    color: #191A17;
    font-weight: 700;
}

.credentials {
    list-style: none;
    margin-bottom: 30px;
}

.credentials li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #8F9488;
}

.credentials li i {
    color: #05C168;
    margin-top: 5px;
    font-size: 16px;
}

.about-cta {
    color: #8F9488;
    margin-bottom: 30px;
    font-style: italic;
}

/* ========== STATS SECTION ========== */
.stats {
    padding: 100px 20px;
    background: #FFFAF6;
    color: #191A17;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stats h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 60px;
    font-weight: 700;
}

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

.stat-item {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.stat-number .plus {
    color: #05C168;
    font-size: 2rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========== REVIEWS SECTION ========== */
.reviews {
    padding: 100px 20px;
    background: white;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.reviews h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 30px;
    color: #191A17;
    font-weight: 700;
    line-height: 1.2;
}

.google-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 0 auto 50px;
    padding: 20px 30px;
    background: #F5F5F5;
    border-radius: 15px;
    width: fit-content;
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.review-card {
    background: #F5F5F5;
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    position: relative;
    text-align: left;
}

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

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

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #8FC3FF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #191A17;
    font-weight: 600;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    margin-bottom: 2px;
    color: #353731;
}

.review-date {
    color: #8F9488;
    font-size: 0.9rem;
}

.review-stars {
    color: #fbbf24;
    margin-bottom: 15px;
}

.review-text {
    color: #8F9488;
    line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta {
    padding: 100px 20px;
    background: #DEF2E6;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10" stroke="rgba(255,255,255,0.3)" stroke-width="2" fill="none"/></svg>') repeat-x;
    opacity: 0.5;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
    color: #191A17;
    font-weight: 700;
}

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

.cta .btn-secondary {
    background: white;
    color: #05C168;
    border: 2px solid #05C168;
    font-weight: 600;
}

.cta .btn-secondary:hover {
    background: #05C168;
    color: white;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 100px 20px;
    background: #F5FBF4;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.contact-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    color: #191A17;
    font-weight: 700;
}

.contact-header p {
    font-size: 1.2rem;
    color: #5E6159;
}

.contact-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.contact-feature {
    text-align: center;
}

.contact-feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #191A17;
    font-weight: 600;
}

.contact-feature p {
    color: #5E6159;
    font-size: 0.95rem;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    color: #353731;
    border: 2px solid #DEE7DC;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-button i {
    font-size: 1.2rem;
}

.contact-button:hover {
    background: #05C168;
    color: white;
    border-color: #05C168;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(5, 193, 104, 0.2);
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

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

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

.form-group label {
    font-size: 0.9rem;
    color: #8F9488;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: none;
    border-bottom: 2px solid #DEE7DC;
    font-size: 1rem;
    color: #353731;
    background: transparent;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #05C168;
}

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

.form-group-full {
    margin-bottom: 30px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: #8F9488;
    line-height: 1.5;
}

.form-checkbox label a {
    color: #05C168;
    text-decoration: none;
}

.form-submit {
    text-align: center;
}

.form-submit button {
    padding: 18px 60px;
    background: #8F9488;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-submit button:hover {
    background: #05C168;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 193, 104, 0.3);
}

/* ========== FOOTER ========== */
.footer {
    background: white;
    color: #353731;
    padding: 60px 20px 30px;
    border-top: 1px solid #EFF4ED;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #191A17;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-section a {
    color: #5E6159;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #05C168;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon img {
    height: 100%;
    width: auto;
}

.footer-description {
    color: #5E6159;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 8px;
    color: #5E6159;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info p i {
    color: #05C168;
    margin-top: 3px;
    min-width: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #F5FBF4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #05C168;
    font-size: 18px;
}

.social-links a:hover {
    background: #05C168;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #EFF4ED;
    padding-top: 30px;
    text-align: center;
    color: #8F9488;
    font-size: 0.9rem;
}

/* ========== BLACK FRIDAY PROMO BUTTON ========== */
.black-friday-promo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #191A17, #353731);
    color: white;
    padding: 18px 25px;
    border-radius: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid #FFD700;
    max-width: 320px;
}

.black-friday-promo.visible {
    opacity: 1;
    transform: translateY(0);
}

.black-friday-promo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: #FFA500;
}

/* ========== FAQ ACCORDION ========== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    border: 2px solid #F0F0F0;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #05C168;
    box-shadow: 0 4px 20px rgba(5, 193, 104, 0.1);
}

.faq-item.active {
    border-color: #05C168;
    box-shadow: 0 8px 25px rgba(5, 193, 104, 0.15);
}

.faq-question {
    padding: 25px 60px 25px 25px;
    cursor: pointer;
    position: relative;
    font-size: 1.15rem;
    font-weight: 600;
    color: #191A17;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #05C168;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #05C168;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px 25px;
}

.faq-answer p {
    color: #5E6159;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}
