/* ==========================================
   Drew’s Kitchen - Main Stylesheet
   ========================================== */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-color: #8B0000;
    --primary-dark: #800000;
    --primary-light: #A52A2A;
    
    /* Secondary Colors */
    --secondary-color: #2c3e50;
    --secondary-light: #34495e;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #ecf0f1;
    --medium-gray: #bdc3c7;
    --dark-gray: #7f8c8d;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    
    /* Accent Colors */
    --success: #27ae60;
    --warning: #f1c40f;
    --info: #3498db;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-fast);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo-text span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 25px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(230, 126, 34, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.75)),
                url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1920&q=85') center/cover no-repeat fixed;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    color: var(--light-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

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

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

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

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

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
    padding: var(--section-padding);
}

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

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-gray);
    font-size: 16px;
}

/* ==========================================
   FEATURES / CARDS
   ========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--off-white);
    padding: 35px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-medium);
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--white);
}

.feature-title {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.feature-text {
    color: var(--dark-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================
   PAGE HERO (Inner Pages)
   ========================================== */
.page-hero {
    padding: 150px 20px 80px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.75)),
                url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1920&q=85') center/cover no-repeat fixed;
    background-size: cover;
    text-align: center;
    color: var(--white);
}

/* Different backgrounds for each page */
body.page-about .page-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.75)),
                url('https://images.unsplash.com/photo-1551218808-94e220e084d2?w=1920&q=85') center/cover no-repeat fixed !important;
    background-size: cover !important;
}

body.page-services .page-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.75)),
                url('https://images.unsplash.com/photo-1555244162-803834f70033?w=1920&q=85') center/cover no-repeat fixed !important;
    background-size: cover !important;
}

body.page-operations .page-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.75)),
                url('https://images.unsplash.com/photo-1556910103-1c02745a30bf?w=1920&q=85') center/cover no-repeat fixed !important;
    background-size: cover !important;
}

body.page-menu .page-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.75)),
                url('https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=1920&q=85') center/cover no-repeat fixed !important;
    background-size: cover !important;
}

body.page-health-safety .page-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.75)),
                url('https://images.unsplash.com/photo-1585232351009-d47d8881e907?w=1920&q=85') center/cover no-repeat fixed !important;
    background-size: cover !important;
}

body.page-clients .page-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.75)),
                url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1920&q=85') center/cover no-repeat fixed !important;
    background-size: cover !important;
}

body.page-contact .page-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.75)),
                url('https://images.unsplash.com/photo-1423666639041-f14fc8f1d9a0?w=1920&q=85') center/cover no-repeat fixed !important;
    background-size: cover !important;
}

.page-hero-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-hero-subtitle {
    font-size: 18px;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--medium-gray);
}

/* ==========================================
   CONTENT SECTIONS
   ========================================== */
.content-section {
    padding: var(--section-padding);
}

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

.content-block.reverse {
    direction: rtl;
}

.content-block.reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.content-text h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.content-text p {
    color: var(--dark-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-list {
    margin: 25px 0;
}

.content-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
}

.content-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==========================================
   INFO BOXES
   ========================================== */
.info-box {
    background: var(--off-white);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    margin: 20px 0;
}

.info-box-title {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.info-box p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 0;
}

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

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* ==========================================
   TESTIMONIALS / CLIENTS
   ========================================== */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.client-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    text-align: center;
    transition: var(--transition-medium);
}

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

.client-logo {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 14px;
}

.client-name {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.client-type {
    color: var(--primary-color);
    font-size: 14px;
}

/* ==========================================
   MENU SECTION
   ========================================== */
.menu-section {
    background: var(--off-white);
}

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

.menu-category {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.menu-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.menu-category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.menu-category-title {
    font-size: 22px;
    color: var(--secondary-color);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--light-gray);
}

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

.menu-item-name {
    color: var(--text-dark);
    font-weight: 500;
}

.menu-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

/* ==========================================
   TIMETABLE
   ========================================== */
.timetable {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.timetable-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.timetable-row:last-child {
    border-bottom: none;
}

.timetable-day {
    font-weight: 600;
    color: var(--secondary-color);
}

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

/* ==========================================
   FORM SECTIONS
   ========================================== */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

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

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

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 16px;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

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

/* ==========================================
   CONTACT INFO
   ========================================== */
.contact-info {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 15px;
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 25px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    color: #000000;
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-text p {
    color: #000000;
    font-size: 15px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-about .logo {
    margin-bottom: 20px;
    display: flex;
}

.footer-about .logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0;
}

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

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--secondary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

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

.footer-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

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

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

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--secondary-light);
    padding-top: 30px;
    text-align: center;
    color: var(--medium-gray);
    font-size: 14px;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-40 {
    margin-top: 40px;
}

.bg-light {
    background: var(--off-white);
}

.bg-dark {
    background: var(--secondary-color);
    color: var(--white);
}

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

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

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
