/*
Theme Name: Clay House Eatery
Theme URI: https://clayhousestanmore.com
Author: Clay House Eatery
Author URI: https://clayhousestanmore.com
Description: A custom WordPress theme for Clay House Eatery, Stanmore - your cozy neighbourhood eatery. Features a beautiful landing page with hero section, menu display, and contact information.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clayhouse
*/

:root {
    --clay-olive: #6B7B3C;
    --clay-olive-dark: #4A5629;
    --clay-sage: #8B9A6D;
    --clay-cream: #F5F2E8;
    --clay-warm: #E8DFD0;
    --clay-terracotta: #C4956A;
    --clay-brown: #5C4A3D;
    --clay-brick: #8B5A47;
    --clay-gold: #D4A84B;
    --clay-white: #FEFDFB;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--clay-cream);
    color: var(--clay-brown);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: transparent;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(245, 242, 232, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(92, 74, 61, 0.1);
}

nav.scrolled .nav-links a {
    color: var(--clay-brown);
}

nav.scrolled .nav-logo img {
    filter: none;
}

nav.scrolled .mobile-menu-btn span {
    background: var(--clay-brown);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--clay-white);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

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

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

.nav-cta {
    background: var(--clay-olive) !important;
    color: var(--clay-white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 30px;
    transition: all 0.3s ease !important;
    text-shadow: none !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--clay-olive-dark) !important;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--clay-white);
    transition: all 0.3s ease;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(92, 74, 61, 0.4) 0%,
        rgba(92, 74, 61, 0.5) 50%,
        rgba(92, 74, 61, 0.7) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-logo {
    width: 180px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    color: var(--clay-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-content h1 span {
    color: var(--clay-gold);
    font-style: italic;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--clay-olive);
    color: var(--clay-white);
    box-shadow: 0 4px 20px rgba(107, 123, 60, 0.4);
}

.btn-primary:hover {
    background: var(--clay-olive-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(107, 123, 60, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--clay-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--clay-white);
    color: var(--clay-brown);
    border-color: var(--clay-white);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
    width: 30px;
    height: 30px;
    color: var(--clay-white);
    opacity: 0.7;
}

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

/* Scrolling Text Banner */
.scroll-banner {
    background: var(--clay-olive);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
}

.scroll-content {
    display: flex;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
}

.scroll-content span {
    color: var(--clay-cream);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    padding: 0 3rem;
}

.scroll-content span::after {
    content: '✦';
    margin-left: 3rem;
    color: var(--clay-gold);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About Section */
.about {
    padding: 8rem 2rem;
    background: var(--clay-white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-images img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-images img:first-child {
    height: 300px;
    grid-column: span 2;
}

.about-images img:nth-child(2),
.about-images img:nth-child(3) {
    height: 200px;
}

.about-images img:hover {
    transform: scale(1.03);
}

.about-text .section-label {
    display: inline-block;
    background: var(--clay-sage);
    color: var(--clay-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--clay-brown);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    color: var(--clay-brick);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--clay-cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.feature-item h4 {
    font-size: 1rem;
    color: var(--clay-brown);
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--clay-brick);
    margin: 0;
}

/* Menu Highlights */
.menu-section {
    padding: 8rem 2rem;
    background: var(--clay-cream);
    position: relative;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--clay-white), var(--clay-cream));
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.menu-header {
    text-align: center;
    margin-bottom: 4rem;
}

.menu-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--clay-brown);
    margin-bottom: 1rem;
}

.menu-header p {
    color: var(--clay-brick);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.menu-image-container {
    margin: 3rem auto;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(92, 74, 61, 0.15);
}

.menu-image-link {
    display: block;
    position: relative;
    cursor: pointer;
}

.menu-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(92, 74, 61, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-image-overlay span {
    color: var(--clay-white);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: 2px solid var(--clay-white);
    border-radius: 30px;
}

.menu-image-link:hover .menu-image-overlay {
    opacity: 1;
}

.menu-full-image {
    width: 100%;
    height: auto;
    display: block;
}

.menu-highlights {
    margin-top: 4rem;
}

.menu-highlights h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--clay-brown);
    margin-bottom: 2rem;
}

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

.menu-card {
    background: var(--clay-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(92, 74, 61, 0.08);
    transition: all 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(92, 74, 61, 0.15);
}

.menu-card-image {
    height: 220px;
    overflow: hidden;
}

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

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

.menu-card-content {
    padding: 1.5rem;
}

.menu-card-content h3 {
    font-size: 1.4rem;
    color: var(--clay-brown);
    margin-bottom: 0.5rem;
}

.menu-card-content p {
    color: var(--clay-brick);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.menu-card-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clay-olive);
}

.menu-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-menu {
    background: var(--clay-brown);
    color: var(--clay-white);
}

.btn-menu:hover {
    background: var(--clay-olive-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(92, 74, 61, 0.3);
}

/* Coffee Section */
.coffee-section {
    padding: 8rem 2rem;
    background: var(--clay-olive);
    position: relative;
    overflow: hidden;
}

.coffee-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.coffee-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.coffee-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--clay-cream);
    margin-bottom: 1.5rem;
}

.coffee-text p {
    color: rgba(245, 242, 232, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.coffee-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.coffee-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--clay-cream);
}

.coffee-item span:last-child {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--clay-gold);
}

.coffee-image {
    position: relative;
}

.coffee-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* Hours & Location */
.info-section {
    padding: 8rem 2rem;
    background: var(--clay-white);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-card {
    background: var(--clay-cream);
    padding: 3rem;
    border-radius: 25px;
}

.info-card h3 {
    font-size: 1.8rem;
    color: var(--clay-brown);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-card h3 span {
    font-size: 1.5rem;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(92, 74, 61, 0.1);
    color: var(--clay-brick);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li span:first-child {
    font-weight: 600;
    color: var(--clay-brown);
}

.location-details p {
    color: var(--clay-brick);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.location-details a {
    color: var(--clay-olive);
    text-decoration: none;
    font-weight: 600;
}

.location-details a:hover {
    text-decoration: underline;
}

.map-placeholder {
    margin-top: 2rem;
    height: 200px;
    background: var(--clay-warm);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clay-brick);
    overflow: hidden;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* Footer */
footer {
    background: var(--clay-brown);
    color: var(--clay-cream);
    padding: 4rem 2rem 2rem;
}

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

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(245, 242, 232, 0.1);
}

.footer-brand img {
    height: 80px;
    margin-bottom: 1rem;
    filter: brightness(1.2);
}

.footer-brand p {
    color: rgba(245, 242, 232, 0.7);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--clay-gold);
}

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

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(245, 242, 232, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--clay-cream);
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(245, 242, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clay-cream);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--clay-olive);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    color: rgba(245, 242, 232, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-container,
    .coffee-container,
    .info-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--clay-cream);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links.active a {
        color: var(--clay-brown);
        text-shadow: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .about-images img:first-child {
        grid-column: span 1;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .coffee-list {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .hero-logo {
        width: 140px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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