/* =============================================
   TRUE FOOD - Main Stylesheet
   Light/Dark Theme Support
   ============================================= */

/* CSS Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Theme Variables - Light Mode (Default) */
:root {
    --bg-color: #FFFFFF;
    --bg-secondary: #f5f5f5;
    --text-color: #333333;
    --text-muted: #666666;
    --heading-color: #000000;
    --accent-green: #4CAF50;
    --accent-green-dark: #3d8b40;
    --card-bg: #FFFFFF;
    --card-shadow: rgba(0, 0, 0, 0.08);
    --header-bg: #FFFFFF;
    --footer-bg: #000000;
    --border-color: #e0e0e0;
    --overlay-color: rgba(0, 0, 0, 0.5);
    --value-bg: #000000;
    --value-text: #FFFFFF;
    --font-primary: 'Open Sans', Arial, sans-serif;
    --header-height: 80px;
    --transition: 0.3s ease;
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-color: #121212;
    --bg-secondary: #1e1e1e;
    --text-color: #e0e0e0;
    --text-muted: #b0b0b0;
    --heading-color: #FFFFFF;
    --accent-green: #81C784;
    --accent-green-dark: #66BB6A;
    --card-bg: #1e1e1e;
    --card-shadow: rgba(0, 0, 0, 0.3);
    --header-bg: #1a1a1a;
    --footer-bg: #0a0a0a;
    --border-color: #333333;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --value-bg: #2a2a2a;
    --value-text: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color var(--transition), color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

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

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px var(--card-shadow);
    z-index: 1000;
    transition: background-color var(--transition), box-shadow var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 0;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-green);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-green);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--accent-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    transition: all var(--transition);
}

.theme-toggle-desktop {
    display: flex;
}

.theme-toggle:hover {
    background-color: var(--accent-green);
}

.theme-toggle:hover .theme-icon {
    fill: var(--bg-color);
}

.theme-icon {
    width: 20px;
    height: 20px;
    fill: var(--accent-green);
    transition: fill var(--transition);
}

.theme-toggle .icon-moon {
    display: none;
}

body.dark-mode .theme-toggle .icon-sun {
    display: none;
}

body.dark-mode .theme-toggle .icon-moon {
    display: block;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero--small {
    height: 50vh;
    min-height: 350px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(var(--overlay-color), var(--overlay-color));
    transition: background var(--transition);
}

body.dark-mode .hero-bg::after {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #FFFFFF;
    padding: 0 20px;
    max-width: 900px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.hero .subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    color: #FFFFFF;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
    padding: 80px 0;
    background-color: var(--bg-color);
    transition: background-color var(--transition);
}

.section--gray {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 15px;
}

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

h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 20px;
    transition: color var(--transition);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 10px;
    transition: color var(--transition);
}

p {
    margin-bottom: 15px;
    color: var(--text-color);
    transition: color var(--transition);
}

/* Intro Section */
.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

/* Bullet Lists */
.feature-list {
    margin: 20px 0 30px;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-green);
    border-radius: 50%;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

.column-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--card-shadow);
}

/* Value Statement */
.value-statement {
    background-color: var(--value-bg);
    color: var(--value-text);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
    transition: background-color var(--transition);
}

.value-statement p {
    font-size: 1.2rem;
    color: var(--value-text);
    margin: 0;
    line-height: 1.8;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background-color: var(--accent-green);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--accent-green);
    color: #FFFFFF;
}

.cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* =============================================
   SERVICES CARDS
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 5px 20px var(--card-shadow);
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
    border: 1px solid var(--border-color);
}

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

.service-card h3 {
    color: var(--accent-green);
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 0;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 25px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item-content {
    flex: 1;
}

.contact-item-content strong {
    display: block;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.contact-item-content a {
    color: var(--text-color);
}

.contact-item-content a:hover {
    color: var(--accent-green);
}

/* Form Styles */
.contact-form {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: 8px;
    transition: background-color var(--transition);
}

.contact-form h2 {
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: border-color var(--transition), background-color var(--transition), color var(--transition);
    background-color: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.form-submit {
    width: 100%;
}

/* Form Success Message */
.form-success {
    display: none;
    background-color: var(--accent-green);
    color: #FFFFFF;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
}

.form-success.show {
    display: block;
}

/* =============================================
   CONTACT PAGE - NEW DESIGN
   ============================================= */

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 30px var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--card-shadow);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background-color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon svg {
    width: 32px;
    height: 32px;
    color: #FFFFFF;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.contact-card p {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-card p a {
    color: var(--text-color);
    transition: color var(--transition);
}

.contact-card p a:hover {
    color: var(--accent-green);
}

.contact-card-link {
    display: inline-block;
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.contact-card-link::after {
    content: ' \2192';
}

.contact-card-link:hover {
    color: var(--accent-green-dark);
}

/* Business Hours Section */
.hours-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hours-content h2 {
    margin-bottom: 15px;
}

.hours-content > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hours-list {
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item:hover {
    background-color: var(--bg-secondary);
}

.hours-item .day {
    font-weight: 600;
    color: var(--heading-color);
}

.hours-item .time {
    color: var(--accent-green);
    font-weight: 500;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    padding: 45px 40px;
    border-radius: 12px;
    text-align: center;
    color: #FFFFFF;
}

.cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.cta-box .btn {
    margin: 5px 10px;
}

.cta-box .btn-primary {
    background-color: #FFFFFF;
    color: var(--accent-green);
}

.cta-box .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-box .btn-outline {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.cta-box .btn-outline:hover {
    background-color: #FFFFFF;
    color: var(--accent-green);
}

/* Map Section */
.map-section {
    padding-bottom: 0;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 30px var(--card-shadow);
}

.map-container iframe {
    display: block;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background-color: var(--footer-bg);
    color: #FFFFFF;
    padding: 60px 0 30px;
    transition: background-color var(--transition);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 100px;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-green);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--accent-green);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.green-accent {
    width: 50px;
    height: 3px;
    background-color: var(--accent-green);
}

/* =============================================
   ABOUT PAGE SPECIFIC
   ============================================= */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.team-image {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--card-shadow);
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */

/* Tablet */
@media (max-width: 992px) {
    .two-column,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-column.reverse {
        direction: ltr;
    }

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

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

    .hero h1 {
        font-size: 2.2rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 50px auto 0;
    }

    .hours-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--header-bg);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 20px var(--card-shadow);
        transition: right var(--transition), background-color var(--transition);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav .theme-toggle {
        display: flex;
        position: absolute;
        bottom: 100px;
        left: 50%;
        transform: translateX(-50%);
    }

    .theme-toggle-desktop {
        display: none;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

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

    .section {
        padding: 60px 0;
    }

    .section-title,
    h2 {
        font-size: 1.5rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .value-statement {
        padding: 30px 20px;
    }

    .value-statement p {
        font-size: 1rem;
    }

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

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .contact-card {
        padding: 30px 25px;
    }

    .hours-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .cta-box .btn {
        display: block;
        margin: 10px 0;
    }

    .map-container iframe {
        height: 350px;
    }

    .btn {
        padding: 12px 25px;
    }

    .logo img {
        height: 50px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .logo img {
        height: 45px;
    }
}

/* Overlay for mobile menu */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 999;
    transition: background-color var(--transition);
}

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