/* A'Carob Website Styles - Based on Backeri Template */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #F4A460;
    --dark-color: #2C1810;
    --light-color: #F5F5DC;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-secondary: 'Lora', serif;
    
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

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

.text-italic {
    font-style: italic;
    color: var(--secondary-color);
}

/* ===== Header Styles ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand .logo {
    height: 57.5px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--gray-800);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 50%;
    margin: 0 0.25rem;
    transition: var(--transition);
}

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

/* ===== Button Styles ===== */
.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.hero.hero-bg-image {
    background: url('../images/home_page_hero1.jpg') center/cover no-repeat !important;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.8) 0%, rgba(139, 69, 19, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    color: var(--white);
    z-index: 1;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-subtitle i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    color: var(--white);
    opacity: 0.9;
}

.hero-features .feature-item i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

/* ===== Working Hours Card ===== */
.working-hours-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-top: 2rem;
}

.working-hours-card .card-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.working-hours-card .card-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.working-hours-card .card-body {
    padding: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1rem;
}

.hours-item .day {
    font-weight: 500;
}

.hours-item .time {
    color: var(--primary-color);
    font-weight: 600;
}

.location-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.location-info i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

/* ===== Product Showcase ===== */
.product-showcase {
    padding: 5rem 0;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 19, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
}

.rating i {
    color: #ffc107;
}

.rating-text {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.experience-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    width: fit-content;
}

.experience-badge .years {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== Section Styles ===== */
.section-subtitle {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-subtitle i {
    margin-right: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* ===== About Preview Section ===== */
.about-preview {
    padding: 5rem 0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.about-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-features .feature-item i {
    color: var(--primary-color);
}

.about-images {
    position: relative;
}

.about-images .main-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.experience-badge-large {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--box-shadow);
    min-width: 120px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.experience-badge-large .years {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge-large .text {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* ===== Features Section ===== */
.features-section {
    padding: 5rem 0;
}

.feature-card {
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

/* ===== Services Section ===== */
.services-section {
    padding: 5rem 0;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-link:hover {
    color: var(--dark-color);
}

.cta-text {
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* ===== Quality Section ===== */
.quality-section {
    padding: 5rem 0;
}

.quality-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

.quality-feature .feature-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quality-feature .feature-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.quality-images {
    position: relative;
}

.image-grid img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.quality-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 1rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--box-shadow);
    min-width: 100px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.quality-badge .number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.quality-badge .text {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ===== Footer Styles ===== */
.main-footer {
    background: var(--dark-color) !important;
    color: var(--light-color);
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    width: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--light-color);
    transition: var(--transition);
}

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

.footer-divider {
    border-color: var(--gray-600);
    margin: 2rem 0;
}

.copyright {
    margin: 0;
    opacity: 0.8;
}

.tagline {
    margin: 0;
    font-style: italic;
    color: var(--accent-color);
}

/* ===== Responsive Design ===== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-features .feature-item {
        justify-content: center;
    }
    
    .experience-badge-large {
        position: static;
        margin-top: 2rem;
        align-self: center;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0;
    }
    
    .working-hours-card {
        margin-top: 3rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .about-features {
        margin-top: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .quality-feature {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Animation Classes ===== */
.animate-fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Utility Classes ===== */
.bg-section {
    background-color: var(--gray-100);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}
