/* 
 * Edible Creations - Fresh & Airy Catering Website
 * Palette: Teal (#0d9488), Slate Grey (#334155), Light Gray (#f8fafc)
 */

:root {
    --primary-teal: #0d9488;
    --primary-teal-dark: #0f766e;
    --primary-teal-light: #ccfbf1;
    --slate-dark: #1e293b;
    --slate-grey: #334155;
    --slate-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--slate-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-teal);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--slate-dark);
    border-color: var(--slate-dark);
}

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

.btn-full {
    width: 100%;
}

/* Tagline */
.tagline {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-teal);
    margin-bottom: 16px;
}

/* Section Titles */
.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 24px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 100px 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--slate-dark);
}

.logo .dot {
    color: var(--primary-teal);
    font-size: 32px;
    line-height: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-grey);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-teal);
}

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

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

.nav-links .btn {
    padding: 10px 24px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--slate-dark);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.close-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--slate-dark);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--slate-dark);
}

.mobile-link:hover {
    color: var(--primary-teal);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 50%, #ecfeff 100%);
}

.hero-bg-gradient {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-content h1 {
    font-size: clamp(36px, 5vw, 64px);
    margin-bottom: 24px;
    color: var(--slate-dark);
    line-height: 1.1;
}

.hero-content h1 em {
    color: var(--primary-teal);
    font-style: italic;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    height: 600px;
}

.hero-img {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.main-img {
    width: 380px;
    height: 480px;
    top: 20px;
    right: 0;
    z-index: 1;
}

.accent-img {
    width: 240px;
    height: 240px;
    bottom: 40px;
    left: 0;
    z-index: 2;
    border: 6px solid white;
}

.floating-card {
    position: absolute;
    bottom: 200px;
    right: -20px;
    background: white;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-teal-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
}

.floating-card strong {
    display: block;
    font-size: 14px;
    color: var(--slate-dark);
}

.floating-card span {
    font-size: 12px;
    color: var(--slate-light);
}

/* About Section */
.about {
    background: var(--bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.about-pattern {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--primary-teal-light);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.about-text-col .lead {
    font-size: 20px;
    color: var(--slate-dark);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    line-height: 1.5;
}

.about-text-col p {
    color: var(--slate-light);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--slate-dark);
    font-weight: 500;
}

.feature-list svg {
    color: var(--primary-teal);
    flex-shrink: 0;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.section-header {
    margin-bottom: 64px;
}

.section-header .tagline {
    margin-bottom: 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--bg-white);
    padding: 48px 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-teal-light);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-teal-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-teal);
    color: white;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--slate-dark);
}

.service-card p {
    color: var(--slate-light);
    line-height: 1.7;
}

/* Gallery Section */
.gallery {
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
    position: relative;
}

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

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

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info .lead {
    font-size: 18px;
    color: var(--slate-light);
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-teal-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--slate-dark);
    margin-bottom: 4px;
}

.info-item p {
    color: var(--slate-light);
    font-size: 15px;
}

.info-item a {
    color: var(--primary-teal);
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--slate-dark);
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: white;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-success {
    text-align: center;
    padding: 40px;
}

.form-success svg {
    color: var(--primary-teal);
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--slate-light);
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    background: var(--slate-dark);
    color: white;
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary-teal);
}

.social-icons {
    display: flex;
    gap: 16px;
}

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

.social-icons a:hover {
    background: var(--primary-teal);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}

.footer-bottom p {
    color: #64748b;
    font-size: 14px;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrapper {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }

    .main-img {
        width: 280px;
        height: 360px;
    }

    .accent-img {
        width: 180px;
        height: 180px;
    }

    .floating-card {
        right: 0;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero-image-wrapper {
        height: 320px;
    }

    .main-img {
        width: 220px;
        height: 280px;
    }

    .accent-img {
        width: 140px;
        height: 140px;
    }

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

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

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

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