/* Base Styles and Variables */
:root {
    --primary-color: #c94d38; /* Mexican red */
    --secondary-color: #8BC34A; /* Green */
    --accent-color: #FFD54F; /* Yellow */
    --dark-color: #33261D; /* Dark brown */
    --light-color: #f9f5e9; /* Cream */
    --text-color: #33261D;
    --header-font: 'Courgette', cursive;
    --body-font: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

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

.artesanal-font {
    font-family: var(--header-font);
    color: var(--primary-color);
}

/* Navbar Styles */
.navbar {
    background-color: var(--dark-color);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-family: var(--header-font);
    font-size: 1.4rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--light-color);
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    border-radius: 4px;
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://i.ytimg.com/vi/hlhIk_qUfy0/maxresdefault.jpg') no-repeat center center;
    background-size: cover;
    padding: 200px 0 100px;
}

.hero-section h1 {
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #a53c2a;
    border-color: #a53c2a;
}

/* About Section */
.about-section {
    background-color: white;
    padding: 80px 0;
}

.about-image-container {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    margin-bottom: 10px;
}

/* Products Section */
.products-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background-color: var(--light-color);
}

.product-icon {
    font-size: 5rem;
}

/* Strategy Section */
.strategy-section {
    background-color: white;
    padding: 80px 0;
}

.strategy-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.strategy-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.strategy-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.strategy-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.strategy-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://tarasmulticulturaltable.com/wp-content/uploads/2025/01/Salsa-Molcajeteada-Classic-Molcajete-Salsa-2-of-3.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
}

.cta-social {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-family: var(--header-font);
}

.footer a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

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

/* FODA Page Styles */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1575919159574-e49dc9e1228f?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 170px 0 60px;
    margin-top: -36px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--header-font);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.foda-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.foda-card-header {
    color: white;
    padding: 20px 20px 10px 20px;
    font-family: var(--header-font);
}

.foda-card .card-body {
    padding: 0 20px;
}

.fortalezas-header {
    background-color: var(--secondary-color);
}

.oportunidades-header {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.debilidades-header {
    background-color: #ff9800; /* Orange */
}

.amenazas-header {
    background-color: var(--primary-color);
}

.foda-card ul {
    padding-left: 20px;
    padding-right: 15px;
    margin-top: 10px;
}

.foda-card ul li {
    margin-bottom: 10px;
}

/* Products Page Styles */
.product-detail-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-header {
    padding: 20px;
    color: white;
    font-family: var(--header-font);
}

.chile-morita {
    background-color: #d32f2f; /* Deep red */
}

.chile-seco {
    background-color: #c62828; /* Darker red */
}

.cacahuate {
    background-color: #8d6e63; /* Brown */
}

.verde-habanero {
    background-color: #2e7d32; /* Dark green */
}

.verde {
    background-color: #43a047; /* Medium green */
}

.habanero-mango {
    background-color: #fb8c00; /* Orange */
}

.product-body {
    padding: 30px;
}

.product-description {
    margin-top: 15px;
    line-height: 1.8;
}

.product-icon-lg {
    font-size: 3rem;
    color: inherit;
    margin-right: 15px;
}

/* Calendar Page Styles */
.calendar-table {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calendar-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
}

.calendar-table td {
    padding: 15px;
    vertical-align: middle;
}

.calendar-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.03);
}

.calendar-table tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Strategy Page Styles */
.strategy-card-body {
    padding: 20px;
}

.strategy-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.strategy-icon-lg {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 25px;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -14px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -14px;
}

/* Contact Page Styles */
.contact-info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.form-control {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(201, 77, 56, 0.25);
}

.contact-form-container {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--dark-color);
        padding: 15px;
        border-radius: 5px;
        margin-top: 10px;
    }
    
    .hero-section,
    .page-header {
        padding-top: 200px;
    }
    
    .timeline-container::after {
        left: 40px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -14px;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .about-image-container,
    .strategy-image-container {
        margin-top: 30px;
    }
    
    .contact-info {
        margin-bottom: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
