/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #8B4513; /* Saddle Brown */
    --secondary-color: #D2691E; /* Chocolate */
    --accent-color: #CD853F; /* Peru */
    --light-color: #FFF8E7; /* Floral White */
    --dark-color: #2C1810; /* Dark Sienna */
    --text-color: #333333;
    --text-light: #666666;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FFFDF9;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
}

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

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 80px 0;
}

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

/* ===== BUTTONS ===== */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    margin-left: 15px;
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 248, 231, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 248, 231, 0.98);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    justify-self: end;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

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

.nav-links .franchise-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    margin-left: 20px;
}

.nav-links .franchise-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.nav-links .franchise-btn::after {
    display: none;
}

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

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

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1474&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 0 20px;
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 120px 0;
    background-color: #FFFDF9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 400px;
    width: 100%;
}

.about-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.about-image:hover .about-main-img {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

/* Founder Card Styles */
.founder-card {
    text-align: center;
    max-width: 300px;
    margin-left: 40px;
}

.founder-card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.founder-card-inner .founder-image,
.founder-card-inner .founder-name {
    flex: 1 1 0;
    max-width: 50%;
    box-sizing: border-box;
    text-align: center;
}

.founder-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 18px;
}

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

.founder-name .founder-title{
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-color, #b8860b);
    margin-top: 2px;
}

.founder-details h3 {
    font-family: var(--font-secondary);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.founder-details .title {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.founder-details .tagline {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ===== MENU SECTION ===== */
.menu-section {
    padding: 120px 0;
    background-color: #F9F5F0;
}

.menu-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 15px;
}

.category-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.menu-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.menu-item-img {
    height: 200px;
    overflow: hidden;
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover .menu-item-img img {
    transform: scale(1.1);
}

.menu-item-content {
    padding: 25px;
}

.menu-item-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.menu-item-title h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
}

.menu-item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.menu-item-desc {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 120px 0;
    background-color: #FFFDF9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

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

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 120px 0;
    background-color: #F9F5F0;
    text-align: center;
}

.testimonials-slider {
    margin-top: 60px;
    position: relative;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid var(--primary-color);
}

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

.testimonial-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.stars {
    margin: 10px 0 5px 0;
}

.stars i {
    color: #FFD700;
    font-size: 1.3rem;
    margin-right: 2px;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 120px 0 0;
    background-color: #FFFDF9;
}

.contact-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-around;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.contact-content > .contact-info,
.contact-content > .founder-card {
    flex: 1 1 0;
    max-width: 50%;
    box-sizing: border-box;
}

.contact-info, .founder-card {
    flex: 1 1 0;
    max-width: 50%;
    box-sizing: border-box;
}

.contact-info h2,
.contact-form h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background-color: rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

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

.map-container {
    height: 450px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FRANCHISE SECTION ===== */
.franchise-section {
    padding: 250px 0;
    background: linear-gradient(rgba(139, 69, 19, 0.9), rgba(139, 69, 19, 0.9)),
                url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    color: white;
    text-align: center;
}

.franchise-content {
    max-width: 800px;
    margin: 0 auto;
}

.franchise-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.franchise-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.franchise-content .cta-button {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.franchise-content .cta-button:hover {
    background-color: transparent;
    color: white;
}

/* Founder Card in Contact Section */
.contact-section .founder-card {
    text-align: center;
    max-width: 250px;
    margin-left: 40px;
    position: relative;
    top: -30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-section .founder-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--accent-color);
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-section .founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-section .founder-name {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-family: var(--font-secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
}

/* ===== FULL WIDTH IMAGE ===== */
.full-width-image {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0; /* Remove extra space below image */
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.full-width-image:hover img {
    transform: scale(1.02);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
}

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

.footer-about h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-family: var(--font-secondary);
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-newsletter p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: white;
    font-family: var(--font-primary);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

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

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

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

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .section-padding {
        padding: 60px 0;
    }

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

    .hero p {
        font-size: 1.2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0 0 20px;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        color: var(--dark-color);
    }

    .nav-links .franchise-btn {
        margin: 20px 0 0;
        text-align: center;
        display: block;
        width: 100%;
    }

    .mobile-menu {
        display: flex;
    }

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

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

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

    .cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .cta-button.secondary {
        margin-left: 0;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }
}

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

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

    .hero p {
        font-size: 1.1rem;
    }

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

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

    .footer-social {
        justify-content: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.founder-image img {
    transform: scale(1.7);
    transition: transform 0.2s ease;
}

/* ===== IMAGES SECTION ===== */
.images-section {
    padding: 80px 0 60px 0;
    background: #fff8e7;
}

.images-section h2 {
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-family: var(--font-secondary);
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.franchise-img-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s;
}

.franchise-img-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}

.franchise-img-item:hover img {
    transform: scale(1.05);
}