/*
Theme Name: Flavor Foundation
Theme URI:
Author: Foundation Dev
Author URI:
Description: A modern, elegant restaurant & cafe WordPress theme inspired by artisan dining. Features parallax scrolling, beautiful typography, and a warm forest green color palette.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flavor-foundation
Tags: restaurant, cafe, food, custom-menu, featured-images, theme-options
*/

/* ========================================
   CSS RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #098c97;
    --color-primary-dark: #066d75;
    --color-primary-light: #0baab6;
    --color-accent: #d4a054;
    --color-accent-light: #e0b46e;
    --color-bg: #ffffff;
    --color-bg-warm: #f8f6f3;
    --color-bg-dark: #1a1a1a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-white: #ffffff;
    --color-border: #e0e0e0;
    --font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1rem, 2vw, 1.2rem); }

p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-white);
    border-color: var(--color-text-white);
}

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

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-text-white);
    border-color: var(--color-accent);
}

.btn-accent:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: translateY(-2px);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 25px 80px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 30px;
}

.site-logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-white);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.site-logo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
    background-color: white;
}

.site-logo img:hover {
    border-color: var(--color-accent);
    transform: scale(1.05);
}

.site-header.scrolled .site-logo img {
    width: 45px;
    height: 45px;
}

/* Main Navigation */
.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-navigation a {
    display: block;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-white);
    position: relative;
    white-space: nowrap;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 70%;
}

.main-navigation a:hover {
    color: var(--color-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-text-white);
    margin: 6px 0;
    transition: var(--transition);
}

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

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

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-overlay {
    display: none;
}

.hero-content {
    display: none;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text-white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--color-text-white);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-down::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background-color: var(--color-text-white);
    margin: 10px auto 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Page Hero (smaller, for inner pages) */
.page-hero {
    position: relative;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.page-hero .hero-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.page-hero .hero-content {
    display: block;
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
}

.page-hero .hero-title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    color: var(--color-text-white);
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-hero .hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ========================================
   SECTIONS - GENERAL
   ======================================== */
.section {
    padding: 70px 0;
}

.section-warm {
    background-color: var(--color-bg-warm);
}

.section-green {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.section-green h2,
.section-green h3,
.section-green h4 {
    color: var(--color-text-white);
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-header .section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 10px;
    display: block;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.section-green .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* Decorative divider */
.divider {
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 15px auto;
}

/* ========================================
   ABOUT / WELCOME SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-accent);
    z-index: -1;
}

.about-content .section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 10px;
    display: block;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 15px;
}

/* ========================================
   HOURS & INFO
   ======================================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    text-align: center;
    padding: 30px 25px;
    background: var(--color-bg);
    border-radius: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.info-card-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.info-card h4 {
    margin-bottom: 15px;
    color: var(--color-primary);
}

.info-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

/* ========================================
   MENU HIGHLIGHTS
   ======================================== */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.menu-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    group: true;
}

.menu-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover img {
    transform: scale(1.08);
}

.menu-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: var(--color-text-white);
    transition: var(--transition);
}

.menu-card-overlay h3 {
    color: var(--color-text-white);
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.menu-card-overlay p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 0;
}

/* Menu Page - Detailed */
.menu-section-title {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--color-border);
}

.menu-items {
    max-width: 800px;
    margin: 0 auto;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

.menu-item-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 5px;
}

.menu-item-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    margin-left: 20px;
}

.menu-category {
    margin-bottom: 60px;
}

/* Menu Tabs */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition);
}

.menu-tab.active,
.menu-tab:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

/* ========================================
   PARALLAX BANNER
   ======================================== */
.parallax-banner {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-banner .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

.parallax-content h2 {
    color: var(--color-text-white);
    margin-bottom: 20px;
}

.parallax-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 93, 59, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    color: var(--color-text-white);
    font-size: 2rem;
}

/* Gallery Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--color-text-white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
    background: none;
    border: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 20px;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ========================================
   CATERING & SERVICES
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 35px 25px;
    text-align: center;
    background: var(--color-bg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-card-icon {
    width: 55px;
    height: 55px;
    line-height: 55px;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

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

/* ========================================
   GIFT VOUCHER
   ======================================== */
.voucher-section {
    text-align: center;
}

.voucher-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--color-bg);
    border: 3px solid var(--color-accent);
    position: relative;
}

.voucher-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--color-accent);
    pointer-events: none;
}

.voucher-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.voucher-card p {
    color: var(--color-text-light);
    margin-bottom: 25px;
}

/* ========================================
   BOOKING FORM
   ======================================== */
.booking-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(21, 93, 59, 0.1);
}

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

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* ========================================
   HIRING / CAREERS
   ======================================== */
.positions-list {
    max-width: 800px;
    margin: 0 auto;
}

.position-item {
    padding: 30px;
    margin-bottom: 20px;
    background: var(--color-bg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.position-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.position-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.position-info p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.position-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    margin-top: 8px;
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-text-white);
    font-size: 1.2rem;
}

.contact-info-item h4 {
    margin-bottom: 5px;
    color: var(--color-primary);
}

.contact-info-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.map-container {
    width: 100%;
    height: 400px;
    margin-top: 60px;
}

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

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-item {
    padding: 20px;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 25px;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* ========================================
   INSTAGRAM FEED
   ======================================== */
.instagram-section {
    text-align: center;
    padding: 80px 0;
}

.instagram-section h3 {
    margin-bottom: 10px;
}

.instagram-section .social-handle {
    color: var(--color-accent);
    font-size: 1rem;
    margin-bottom: 30px;
    display: block;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
}

.instagram-item {
    aspect-ratio: 1;
    overflow: hidden;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.footer-centered {
    text-align: center;
    padding-bottom: 40px;
}

.footer-hours-line {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    line-height: 2;
}

.footer-hours-line strong {
    color: var(--color-text-white);
}

.footer-sep {
    margin: 0 10px;
    opacity: 0.4;
}

.footer-contact-line {
    margin-bottom: 25px;
}

.footer-contact-line p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.8;
}

.footer-contact-line a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-social-line {
    margin-bottom: 10px;
}

.footer-social-line p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text-white);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   ANIMATIONS (Scroll Reveal)
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 15px;
    }

    .header-inner {
        padding: 0 10px;
    }

    .site-logo img {
        width: 60px;
        height: 60px;
    }

    .site-logo a {
        font-size: 1.3rem;
    }

    .section {
        padding: 50px 0;
    }

    .menu-toggle {
        display: block;
        padding: 8px;
    }

    .menu-toggle span {
        width: 22px;
        height: 2px;
        margin: 4px 0;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--color-primary);
        padding: 0 0 80px 0;
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1001;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation a {
        padding: 20px 30px;
        font-size: 0.8rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        width: 100%;
    }

    .main-navigation a::after {
        display: none;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .page-hero .hero-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .position-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .about-image img {
        height: 350px;
    }

    .about-image::before {
        display: none;
    }

    .hero-bg {
        background-attachment: scroll;
    }

    .parallax-banner {
        background-attachment: scroll;
    }

    .page-hero {
        background-attachment: scroll;
        min-height: 40vh;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 10px 10px;
    }

    .header-inner {
        padding: 0 5px;
    }

    .site-logo img {
        width: 60px;
        height: 60px;
    }

    .site-logo a {
        font-size: 1.1rem;
    }

    .section {
        padding: 40px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-hours-line span {
        display: block;
        margin-bottom: 5px;
    }

    .footer-hours-line .footer-sep {
        display: none;
    }
}

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.wp-caption {
    max-width: 100%;
}

.wp-caption img {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-align: center;
    padding: 10px 0;
}

.sticky {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* Page content - default WordPress content styling */
.page-content {
    padding: 80px 0;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    margin-bottom: 15px;
    margin-top: 30px;
}

.page-content p {
    margin-bottom: 15px;
}

.page-content ul,
.page-content ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.page-content ul {
    list-style: disc;
}

.page-content ol {
    list-style: decimal;
}

.page-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 20px 30px;
    margin: 30px 0;
    background: var(--color-bg-warm);
    font-style: italic;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-overlay.active {
    display: block;
}
