/* Shawarma Theme - General Styles */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Luckiest+Guy&family=Righteous&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-background);
    background-image: url('../images/icons/food-pattern.png');
    background-repeat: repeat;
    background-size: 100px;
    background-blend-mode: overlay;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Prevent text overflow globally */
h1, h2, h3, h4, h5, h6, p, div, span, a, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* Ensure all elements respect max width */
* {
    max-width: 100%;
}

/* Prevent images from overflowing */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent long URLs from breaking layout */
a {
    overflow-wrap: break-word;
    word-break: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.25rem, 3.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 3vw, 1.5rem); }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-dark);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #FF6B35 0%, #D63031 100%);
    box-shadow: 0 4px 0 0 #2D3436;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid #2D3436;
}

.site-header .navbar-brand h1 {
    font-size: 1.75rem;
    color: #FFE66D;
    margin: 0;
    font-weight: 700;
    font-family: 'Luckiest Guy', cursive;
    text-shadow: 2px 2px 0 #2D3436;
}

.site-header .nav-link {
    color: #FFE66D;
    font-weight: 700;
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    font-family: 'Fredoka One', cursive;
    text-transform: uppercase;
}

.site-header .nav-link:hover {
    color: white;
    transform: scale(1.1);
}

/* Main Content */
.main-content {
    min-height: 70vh;
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #D63031 0%, #FF6B35 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    border: 4px solid #2D3436;
    box-shadow: 8px 8px 0 0 #2D3436;
    position: relative;
}

.hero-section::before {
    content: '🥙🍟🌶️';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2em;
}

.hero-title {
    font-size: clamp(1.75rem, 6vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFE66D;
    font-family: 'Luckiest Guy', cursive;
    text-shadow: 3px 3px 0 #2D3436;
    letter-spacing: 3px;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
    font-family: 'Fredoka One', cursive;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #FF6B35 0%, #D63031 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 4px solid #2D3436;
    box-shadow: 0 6px 0 0 #FFE66D;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #FFE66D;
    font-family: 'Luckiest Guy', cursive;
    text-shadow: 3px 3px 0 #2D3436;
}

/* Section Title */
.section-title {
    font-size: 2rem;
    color: #D63031;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 4px solid #FF6B35;
    display: inline-block;
    font-family: 'Luckiest Guy', cursive;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #FF6B35, #D63031);
    border: 3px solid #2D3436;
    color: #FFE66D;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-family: 'Fredoka One', cursive;
    transition: all var(--transition-normal);
    box-shadow: 4px 4px 0 0 #2D3436;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #D63031, #FF6B35);
    transform: translateY(-3px);
    box-shadow: 6px 6px 0 0 #2D3436;
    color: white;
}

.btn-read-more {
    background: #FFE66D;
    color: #D63031;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: inline-block;
    transition: all var(--transition-normal);
    border: 2px solid #D63031;
    font-family: 'Righteous', cursive;
    box-shadow: 3px 3px 0 0 #D63031;
}

.btn-read-more:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-2px) rotate(2deg);
    box-shadow: 4px 4px 0 0 #D63031;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2D3436 0%, #5D4E37 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 4px solid #FF6B35;
}

.site-footer h3 {
    color: #FFE66D;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Luckiest Guy', cursive;
}

.site-footer h4 {
    color: #FF6B35;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: 'Fredoka One', cursive;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #FFE66D;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed #FF6B35;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Content Page */
.content-page {
    background: linear-gradient(180deg, #FFF5E1 0%, #FFEAA7 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 4px solid #FF6B35;
    box-shadow: 6px 6px 0 0 #D63031;
}

.content-page h2 {
    color: #D63031;
    margin-top: 2rem;
    font-family: 'Luckiest Guy', cursive;
}

.content-page h2:first-child {
    margin-top: 0;
}

.content-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

.content-page li::marker {
    content: '🌶️ ';
}

/* Responsive */

/* Tablets and smaller laptops */
@media (max-width: 992px) {
    .hero-section {
        padding: 3rem 0;
    }

    .page-header {
        padding: 2rem 0;
    }

    .main-content {
        padding: 1.5rem 0;
    }
}

/* Tablets */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .hero-section {
        padding: 2.5rem 0;
        box-shadow: 5px 5px 0 0 #2D3436;
    }

    .page-header {
        padding: 1.5rem 0;
    }

    .page-header h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        padding: 0 1rem;
    }

    .section-title {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }

    .content-page {
        padding: 1.5rem;
        box-shadow: 4px 4px 0 0 #D63031;
    }

    .site-header .navbar-brand h1 {
        font-size: 1.5rem;
    }
}

/* Mobile devices */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    .hero-section {
        padding: 2rem 0.5rem;
    }

    .page-header {
        padding: 1.5rem 0.5rem;
    }

    .page-header h1 {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        line-height: 1.3;
    }

    .page-header p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .content-page {
        padding: 1rem;
        border-radius: 15px;
    }

    .btn-primary,
    .btn-read-more {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .site-footer {
        padding: 2rem 0 1rem;
    }

    .site-header .nav-link {
        padding: 0.5rem 0.75rem;
    }
}

/* Very small mobile devices */
@media (max-width: 375px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero-title,
    .page-header h1 {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 0.875rem;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }
}
