/* 
   Penkey Délicaf & Gifts - Simplified Website Styles
   Using the Penkey brand colors:
   - Navy/Teal: #2F3E3E
   - Orange: #E78F24
   - Cream: #FEF5E7
*/

/* Base Styles */
:root {
    --penkey-navy: #2e3d42;
    --penkey-orange: #FF8C2B;
    --penkey-cream: #faf3e6;
    --penkey-light: #FFFFFF;
    --penkey-dark: #1A2323;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-buttons: 'Nunito', -apple-system, sans-serif;
    --hero-bg: rgba(46, 61, 66, 0.92);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(46, 61, 66, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--penkey-cream);
    text-decoration: none;
    opacity: 0.8;
}

.footer-legal a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* Tailwind-compatible utility classes for Penkey brand colors */
.bg-penkey-navy {
    background-color: #2e3d42;
}

.bg-penkey-cream {
    background-color: #faf3e6;
}

.text-penkey-navy {
    color: #2e3d42;
}

.text-penkey-cream {
    color: #faf3e6;
}

.border-penkey-navy {
    border-color: #2e3d42;
}

.border-penkey-cream {
    border-color: #faf3e6;
}

.hover\:bg-penkey-navy:hover {
    background-color: #2e3d42;
}

.hover\:text-penkey-navy:hover {
    color: #2e3d42;
}

.focus\:ring-penkey-navy:focus {
    --tw-ring-color: #2e3d42;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--penkey-navy);
    font-weight: 400;
    background-color: var(--penkey-cream);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--penkey-navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--penkey-navy);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--penkey-orange);
}

/* Accessibility: visible focus styles */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.mobile-menu-btn:focus-visible {
    outline: 3px solid var(--penkey-orange);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Tap target sizing for interactive controls */
.btn,
button {
    min-height: 44px; /* WCAG mobile target */
    min-width: 44px;
}

/* Horizontal/vertical overflow utilities */
.overflow-x-auto { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.overflow-y-auto { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.horizontal-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Typography improvements */
p,
li {
    line-height: 1.7;
}

@media (max-width: 768px) {
    p,
    li { line-height: 1.8; }
}

/* Long-form content readability: paragraphs, lists, and long URLs */
main p,
section p { margin-bottom: 1.125rem; }

main ul,
section ul,
main ol,
section ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }

main li + li,
section li + li { margin-top: 0.5rem; }

@media (max-width: 768px) {
  main li + li,
  section li + li { margin-top: 0.6rem; }
}

/* Prevent horizontal overflow from long words/URLs in body content */
main p,
section p,
main li,
section li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

img {
    max-width: 100%;
    /* height: auto; */ /* This was overriding Tailwind's height utilities */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 5rem 0;
    background-color: var(--penkey-cream);
    color: var(--penkey-navy);
}

/* Section Styles */
.dark-section {
    background-color: var(--penkey-cream);
    color: var(--penkey-navy);
    padding: 6rem 0;
}

.light-section {
    background-color: white;
    color: var(--penkey-navy);
    padding: 6rem 0;
}

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

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.about-image {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.about-feature {
    background: rgba(46, 61, 66, 0.05);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 61, 66, 0.1);
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-feature i {
    font-size: 2.5rem;
    color: var(--penkey-orange);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.about-feature h3 {
    color: var(--penkey-orange);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-feature p {
    color: var(--penkey-navy);
    opacity: 0.9;
    line-height: 1.7;
}

/* Ensure text color in dark sections */
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6,
.dark-section p,
.dark-section a {
    color: var(--penkey-navy);
}

.dark-section a:hover {
    color: var(--penkey-orange);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn-primary {
    background-color: var(--penkey-orange);
    color: var(--penkey-cream);
    border: 2px solid var(--penkey-orange);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--penkey-orange);
    border-color: var(--penkey-orange);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--penkey-cream);
    color: var(--penkey-cream);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--penkey-cream);
    color: var(--penkey-navy);
}

/* Header/Navigation */
header {
    background-color: var(--penkey-cream);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    color: var(--penkey-navy);
}

header.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 120px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
    /* Ensure transparent PNGs render without dark box on some browsers */
    background-color: transparent;
    mix-blend-mode: normal;
    filter: none;
    mask-image: none;
    -webkit-mask-image: none;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 600;
    color: var(--penkey-navy);
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--penkey-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--penkey-orange);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--penkey-orange);
    font-weight: 700;
}

.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--penkey-navy);
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--penkey-orange);
}

/* Hero Section with Enhanced Design */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.order-hero {
    background-image: url('../images_optimized/images/hero-images/order-1920x1364.webp');
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content {
    background-color: var(--hero-bg);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Grain texture overlay */
.grain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Welcome Text */
.welcome-text {
    font-family: var(--font-buttons);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--penkey-orange);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Main Heading */
.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    color: var(--penkey-cream);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero h1 .ampersand {
    color: var(--penkey-orange);
    font-family: Georgia, serif;
    font-style: italic;
}

/* Tagline */
.hero-tagline {
    font-family: var(--font-body);
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--penkey-cream);
    margin: 0 auto 1.5rem;
    max-width: 600px;
}

.hero-tagline .divider {
    display: block;
    margin: 0.8rem 0;
    color: var(--penkey-orange);
}

.hero-tagline .divider i {
    font-size: 1.2rem;
}

.hero-tagline em {
    font-style: italic;
    color: var(--penkey-orange);
    font-weight: 500;
}

/* Highlight Box */
.hero-highlight {
    position: relative;
    background: rgba(250, 243, 230, 0.08);
    border-left: 3px solid var(--penkey-orange);
    padding: 1.5rem;
    margin: 2.5rem 0;
    text-align: left;
    border-radius: 0 8px 8px 0;
}

.hero-highlight p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    color: var(--penkey-cream);
    font-weight: 400;
}

/* Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2rem 0 2.5rem;
    flex-wrap: wrap;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--penkey-cream);
    font-weight: 500;
}

.hero-features .icon {
    font-size: 1.4rem;
    line-height: 1;
}

/* Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.hero-buttons .btn i {
    margin-right: 8px;
    font-size: 0.9em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-family: var(--font-buttons);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--penkey-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(231, 143, 36, 0.3);
}

.btn-primary:hover {
    background-color: #e07e1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 143, 36, 0.4);
}

.btn-secondary {
    background-color: var(--penkey-navy);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background-color: #1e2c30;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 6rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 2.5rem 1.5rem;
        max-width: 560px; /* constrain width for readability on mobile */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Add subtle parallax effect on scroll */
@media (min-width: 768px) {
    .hero::before {
        transform: translate3d(0, calc(var(--scroll, 0) * 0.5px), 0);
    }
    
    .hero-content {
        transform: translate3d(0, calc(var(--scroll, 0) * 0.2px), 0);
    }
}

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

.features.dark-section {
    background-color: var(--penkey-navy);
    color: var(--penkey-cream);
}

.features.light-section {
    background-color: white;
    color: var(--penkey-navy);
}

.features.dark-section .feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--penkey-cream);
}

.features.light-section .feature-card {
    background-color: var(--penkey-cream);
    color: var(--penkey-navy);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.features.dark-section .feature-card h3 {
    color: var(--penkey-cream);
}

.features.light-section .feature-card h3 {
    color: var(--penkey-navy);
}

.features.dark-section .feature-card p {
    color: rgba(255, 255, 255, 0.9);
}

.features.light-section .feature-card p {
    color: var(--penkey-navy);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--penkey-cream);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.features.dark-section .feature-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    background-color: rgba(231, 143, 36, 0.15);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--penkey-orange);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--penkey-orange);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: var(--penkey-cream);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--penkey-navy);
    opacity: 0.9;
}

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

.features.dark-section .feature-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--penkey-orange);
    margin-bottom: 1.5rem;
}

/* Order Now Section */
.order-now {
    background-color: var(--penkey-navy);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.order-now .btn-secondary {
    border: 3px solid var(--penkey-cream);
}

.gloria-food-button {
    margin-top: 2rem;
}

/* Contact Preview Section */
.contact-preview {
    background-color: #faf3e6;
    padding: 4rem 0;
}

.contact-preview .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-preview .find-us-cards {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-preview .contact-info, .contact-preview .map-container {
    flex: 1;
    width: 450px;
    min-width: 300px;
    max-width: 450px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    height: 450px;
    margin: 0;
}

/* Remove baseline whitespace and ensure iframe fully fills container */
.contact-preview .map-container {
    line-height: 0;
}

.contact-preview .map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--penkey-orange);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.map-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.button-group .btn {
    margin: 0;
    white-space: nowrap;
}

.button-group .order-modal-btn {
    background-color: var(--penkey-orange);
    border-color: var(--penkey-orange);
    font-size: 16px;
    padding: 10px 20px;
}

/* Responsive styles */
@media (min-width: 769px) {
    .button-group {
        flex-wrap: nowrap;
    }
}

@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .button-group .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .button-group {
        gap: 0.5rem;
    }
    
    .button-group .btn {
        padding: 10px 15px;
        font-size: 15px;
    }
    
    .hero-content {
        padding: 1.2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtext {
        font-size: 0.9rem;
    }
    
    .hero-subtext br {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons .btn {
        margin: 0.4rem 0;
        width: 100%;
    }
}

/* Penkey Peeps Section */
.penkey-peeps {
    padding: 4rem 0;
    background-color: white;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.coming-soon-tag {
    display: inline-block;
    background-color: var(--penkey-orange);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-left: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.peeps-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.peeps-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.peep-feature {
    padding: 1.5rem;
    border-radius: 10px;
    background-color: var(--penkey-cream);
    transition: transform 0.3s ease;
}

.peep-feature:hover {
    transform: translateY(-5px);
}

.peep-feature i {
    font-size: 2rem;
    color: var(--penkey-orange);
    margin-bottom: 1rem;
}

.peep-feature h3 {
    margin-bottom: 0.5rem;
    color: var(--penkey-navy);
}

.peeps-signup {
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.peeps-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.peeps-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-family: var(--font-body);
}

.peeps-form button {
    border-radius: 0 5px 5px 0;
}

@media (max-width: 768px) {
    .peeps-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .peeps-form {
        flex-direction: column;
    }
    
    .peeps-form input {
        border-radius: 5px;
        margin-bottom: 1rem;
    }
    
    .peeps-form button {
        border-radius: 5px;
    }
}

/* Footer */
footer {
    background-color: var(--penkey-navy);
    color: var(--penkey-cream);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Reorder the footer sections */
.footer-logo {
    grid-column: 2;
    order: 2;
    padding-right: 2rem; /* Move content slightly to the left */
}

.footer-links {
    grid-column: 1;
    order: 1;
}

.footer-cta-container {
    grid-column: 3;
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo p {
    position: relative;
    top: -20px; /* Move the blurb text up by 10px */
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Horizontal social icons under blurb */
.social-icons-horizontal {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.social-icons-horizontal .social-icon-link {
    color: var(--penkey-cream);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.social-icons-horizontal .social-icon-link:hover {
    color: var(--penkey-orange);
    opacity: 1;
    transform: translateY(-3px);
}

.social-icons-horizontal .tripadvisor-icon {
    width: 1.25rem;
    height: 1.25rem;
    filter: brightness(2.5);
    transition: all 0.3s ease;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.social-icons-horizontal .social-icon-link:hover .tripadvisor-icon {
    filter: brightness(1) sepia(1) hue-rotate(15deg) saturate(5);
    transform: translateY(-3px);
}

.footer-logo img {
    /* Preserve aspect ratio and cap size without distortion */
    width: auto;
    height: auto;
    max-height: 125px; /* target visual height */
    max-width: 100%;
    margin: 0 auto 0;
    display: block;
    position: relative; 
    top: -5px; /* Moved down 10px from previous -15px */
    /* Ensure transparent PNGs render without dark box on some browsers */
    background-color: transparent;
    mix-blend-mode: normal;
    filter: none;
    mask-image: none;
    -webkit-mask-image: none;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--penkey-cream);
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--penkey-orange);
    opacity: 1;
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.social-icon-link i {
    color: var(--penkey-cream);
    font-size: 1.1rem;
}

.tripadvisor-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.footer-cta h4 {
    margin: 0 0 0.5rem 0;
    color: var(--penkey-cream);
    font-size: 1rem;
    font-weight: 500;
}

.btn-footer {
    padding: 0.6rem 1.2rem;
    text-align: center;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-footer.btn-primary {
    background: var(--penkey-orange);
    color: white;
}

.btn-footer.btn-outline {
    background: transparent;
    border: 1px solid var(--penkey-orange);
    color: var(--penkey-orange);
}

.btn-footer.btn-outline:hover {
    background: var(--penkey-orange);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--penkey-cream);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding: 1.5rem;
        margin: 1.5rem;
        text-align: center;
        width: auto;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-highlight {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .hero-highlight p {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .hero-features .feature {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        margin: 0;
        width: 100%;
    }
    
    .contact-preview .find-us-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-preview .contact-info, .contact-preview .map-container {
        width: 100%;
        max-width: 500px;
        margin: 0 0 2rem 0;
        height: 350px; /* Keep equal with responsive map height */
    }
}

/* Info Box Styling for How It Works */
.info-box {
    background-color: var(--penkey-cream);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.info-box h3 {
    color: var(--penkey-navy);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.info-box h3 i {
    margin-right: 0.5rem;
    color: var(--penkey-orange);
}

.info-box ul {
    padding-left: 1.5rem;
}

.info-box li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* GloriaFood Button Styling */
#glf-button-container {
    margin: 0 auto;
    max-width: 300px;
}

/* Additional styling for GloriaFood button if needed */
.glf-button {
    background-color: var(--penkey-orange) !important;
    border: none !important;
    color: white !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
}

/* Smooth Scrolling Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Adjust this value to control how far from the top the scroll stops */
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&family=Nunito:wght@600;700&display=swap');

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
}

.contact-container {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    padding: 3rem;
    background-color: white;
}

.contact-form {
    padding: 3rem;
    background-color: var(--penkey-cream);
}

.info-block {
    margin-bottom: 2.5rem;
}

.info-block h3 {
    margin-bottom: 1.25rem;
    color: var(--penkey-navy);
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.info-block h3 i {
    margin-right: 1rem;
    color: var(--penkey-orange);
    font-size: 1.25rem;
}

.info-block p {
    color: var(--penkey-navy);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.hours-table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid rgba(46, 61, 66, 0.1);
}

.hours-table td {
    padding: 0.75rem 0;
    color: var(--penkey-navy);
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 500;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--penkey-navy);
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(46, 61, 66, 0.2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-control:focus {
    border-color: var(--penkey-orange);
    box-shadow: 0 0 0 3px rgba(231, 143, 36, 0.15);
}

.form-control:focus:not(:focus-visible) {
    outline: none;
}

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

.form-alternatives {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--penkey-cream);
    border-radius: 8px;
}

.map-section {
    margin-top: 4rem;
    text-align: center;
}

.map-container {
    height: 400px;
    margin: 2rem auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-actions {
    margin-top: 1.5rem;
    text-align: center;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    overflow: auto;
}

.modal-dialog {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 10vh auto;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
}

.close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
}

/* Responsive Design for Contact Page */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 1.5rem;
    }
    
    .contact-info, .contact-form {
        padding: 2.5rem;
    }
    
    /* Footer responsive adjustments */
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo img {
        /* Preserve aspect ratio at this breakpoint */
        width: auto;
        height: auto;
        max-height: 110px;
        max-width: 100%;
    }
    
    .footer-logo p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info, .contact-form {
        padding: 2rem;
    }
    
    .map-container {
        margin-top: 2rem;
        height: 350px;
    }
    
    /* Footer responsive adjustments for tablets */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-logo {
        grid-column: 1;
        order: 1;
        padding-right: 0;
    }
    
    .footer-links {
        grid-column: 1;
        order: 2;
        text-align: center;
    }
    
    .footer-links ul {
        padding-left: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-cta-container {
        grid-column: 1;
        order: 3;
        align-items: center;
    }
    
    .footer-cta {
        margin-top: 0;
        align-items: center;
    }
    
    .footer-logo p {
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-info, .contact-form {
        padding: 1.75rem 1.5rem;
    }
    
    .info-block h3 {
        font-size: 1.25rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    /* Footer responsive adjustments for mobile */
    footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-logo img {
        /* Preserve aspect ratio on small screens */
        width: auto;
        height: auto;
        max-height: 100px;
        max-width: 100%;
    }
    
    .footer-logo p {
        font-size: 0.9rem;
        line-height: 1.5;
        top: -15px;
    }
    
    .social-icons-horizontal {
        gap: 1.25rem;
    }
    
    .social-icons-horizontal .social-icon-link {
        font-size: 1.1rem;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links a:hover {
        transform: translateX(0);
    }
    
    .footer-cta {
        width: 100%;
        gap: 0.75rem;
    }
    
    .btn-footer {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
}
