/* ============================================
   The Southern Kitchen — Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Navigation --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
}

.nav-fixed.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    transition: color 0.3s ease;
}

.nav-fixed.scrolled .nav-logo {
    color: #0f766e;
}

.nav-logo-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.nav-logo-text {
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.nav-fixed.scrolled .nav-link {
    color: #475569;
}

.nav-fixed.scrolled .nav-link:hover {
    color: #0f766e;
    background: #f0fdfa;
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f766e;
    background: white;
    border-radius: 9999px;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: #f0fdfa;
}

.nav-fixed.scrolled .nav-cta {
    background: #0d9488;
    color: white;
}

.nav-fixed.scrolled .nav-cta:hover {
    background: #0f766e;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-fixed.scrolled .nav-toggle span {
    background: #1e293b;
}

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

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.7) 0%,
        rgba(13, 118, 110, 0.5) 50%,
        rgba(15, 23, 42, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem;
    padding-top: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-badge-icon {
    width: 1rem;
    height: 1rem;
}

.hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-accent {
    color: #5eead4;
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-trust-icon {
    width: 1rem;
    height: 1rem;
    color: #5eead4;
}

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

.hero-scroll-indicator {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
}

.hero-scroll svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Nunito Sans', sans-serif;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-icon {
    width: 1.125rem;
    height: 1.125rem;
}

.btn-primary {
    background: #0d9488;
    color: white;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

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

/* --- Container --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Section Styles --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: #f0fdfa;
    color: #0d9488;
    font-size: 0.8125rem;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 1rem;
    border: 1px solid #ccfbf1;
}

.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #1e293b;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
}

/* --- Menu Section --- */
.menu-section {
    padding: 6rem 0;
    background: white;
}

.menu-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.menu-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    color: #64748b;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.menu-cat-btn:hover {
    color: #0d9488;
    background: #f0fdfa;
    border-color: #ccfbf1;
}

.menu-cat-btn.active {
    color: white;
    background: #0d9488;
    border-color: #0d9488;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.menu-cat-icon {
    width: 1.125rem;
    height: 1.125rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item:hover {
    background: white;
    border-color: #ccfbf1;
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.1);
    transform: translateY(-4px);
}

.menu-item-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    overflow: hidden;
}

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

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

.menu-item-content {
    flex: 1;
    min-width: 0;
}

.menu-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.menu-item-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.menu-item-tag {
    flex-shrink: 0;
    padding: 0.125rem 0.5rem;
    background: #f0fdfa;
    color: #0d9488;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.menu-item-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

.menu-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    border-radius: 2rem;
    border: 1px solid #ccfbf1;
}

.menu-cta p {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

/* --- About Section --- */
.about-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

.about-img-secondary {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-img-accent {
    position: absolute;
    top: -1.5rem;
    right: -1rem;
}

.about-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.25rem;
    background: #0d9488;
    color: white;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.3);
}

.about-badge-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.about-badge-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-size: 1.0625rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

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

.about-feature-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 1rem;
}

.about-feature-svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #0d9488;
}

.about-feature-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.about-feature-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 6rem 0;
    background: white;
}

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

.gallery-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 148, 136, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.5rem;
}

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

.gallery-item-overlay svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(13, 148, 136, 0.7) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact-section {
    padding: 6rem 0 4rem;
    background: #f8fafc;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #ccfbf1;
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.08);
    transform: translateY(-2px);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 1rem;
}

.contact-svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #0d9488;
}

.contact-card-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-card-text {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
}

.contact-card-text a {
    color: #0d9488;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card-text a:hover {
    color: #0f766e;
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 100%;
}

.contact-form-card {
    background: white;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.contact-form-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: 'Nunito Sans', sans-serif;
    color: #1e293b;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #0d9488;
    background: white;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-success-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: #f0fdfa;
    border-radius: 50%;
}

.form-success-icon svg {
    width: 2rem;
    height: 2rem;
    color: #0d9488;
}

.form-success-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.form-success-text {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
}

/* Map */
.map-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* --- Footer --- */
.footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: #0d9488;
    color: white;
    transform: translateY(-2px);
}

.footer-social-icon {
    width: 1.125rem;
    height: 1.125rem;
}

.footer-heading {
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.25rem;
}

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

.footer-links li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9375rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #5eead4;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0.25rem;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        color: #334155;
        font-size: 1.0625rem;
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .nav-link:hover {
        background: #f0fdfa;
        color: #0d9488;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
        text-align: center;
        width: 100%;
        background: #0d9488;
        color: white;
    }
    
    .nav-cta:hover {
        background: #0f766e;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-overlay.show {
        display: block;
    }
    
    .hero-content {
        padding-top: 6rem;
    }
    
    .hero-trust {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-img-secondary {
        right: -0.5rem;
        bottom: -1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item-wide {
        grid-column: span 2;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-item {
        flex-direction: column;
    }
    
    .menu-item-img {
        width: 100%;
        height: 160px;
        border-radius: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 380px) {
    .hero-badge {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}
