/* ==========================================
   PIZZERIA DA MARCO — Style Sheet
   Fonts: Playfair Display SC (Headings)
          Karla (Body)
   ========================================== */

/* ----- Font-Face: Local Fonts ----- */
@font-face {
    font-family: 'Playfair Display SC';
    src: url('../fonts/PlayfairDisplaySC-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display SC';
    src: url('../fonts/PlayfairDisplaySC-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Karla';
    src: url('../fonts/Karla-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Karla';
    src: url('../fonts/Karla-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Karla';
    src: url('../fonts/Karla-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Karla';
    src: url('../fonts/Karla-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Karla';
    src: url('../fonts/Karla-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

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

body {
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #450A0A;
    background-color: #FEF2F2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ----- Typography ----- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display SC', serif;
    font-weight: 700;
    line-height: 1.2;
    color: #450A0A;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    text-align: center;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    color: #DC2626;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.section-subtitle::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #CA8A04;
    margin: 0.75rem auto 0;
}

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

.section {
    padding: 5rem 0;
}

.section-light {
    background: #FFF8F0;
}

.section-dark {
    background: #450A0A;
    color: #FEF2F2;
}

.section-dark h2,
.section-dark h3 {
    color: #FEF2F2;
}

/* ----- Navbar ----- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(254, 242, 242, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(69, 10, 10, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display SC', serif;
    font-size: 1.4rem;
    color: #DC2626;
    font-weight: 700;
}

.navbar-logo svg {
    width: 32px;
    height: 32px;
    color: #DC2626;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.navbar-links a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #450A0A;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.navbar-links a:hover,
.navbar-links a.active {
    background: #DC2626;
    color: #fff;
}

.navbar-cta {
    background: #CA8A04 !important;
    color: #fff !important;
    padding: 0.5rem 1.25rem !important;
    font-weight: 600 !important;
}

.navbar-cta:hover {
    background: #B37900 !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #450A0A;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        flex-direction: column;
        background: #FEF2F2;
        padding: 6rem 2rem 2rem;
        gap: 0.5rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: stretch;
    }

    .navbar-links.open {
        right: 0;
    }

    .navbar-links a {
        padding: 1rem;
        font-size: 1rem;
        text-align: center;
        border-radius: 8px;
    }

    .navbar-cta {
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* Overlay for mobile menu */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(69, 10, 10, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.visible {
    display: block;
    opacity: 1;
}

/* ----- Hero ----- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 72px;
    background: linear-gradient(135deg, #450A0A 0%, #7f1d1d 50%, #DC2626 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(202, 138, 4, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(248, 113, 113, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(202, 138, 4, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-content {
    color: #FEF2F2;
}

.hero-content h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content h1 .accent {
    color: #CA8A04;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(254, 242, 242, 0.85);
    margin-bottom: 2rem;
    max-width: 480px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: #CA8A04;
    color: #fff;
}

.btn-primary:hover {
    background: #B37900;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 138, 4, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(254, 242, 242, 0.4);
}

.btn-outline:hover {
    border-color: #CA8A04;
    background: rgba(202, 138, 4, 0.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #450A0A;
    color: #FEF2F2;
}

.btn-secondary:hover {
    background: #7f1d1d;
    transform: translateY(-2px);
}

.btn-gold {
    background: #CA8A04;
    color: #fff;
}

.btn-gold:hover {
    background: #B37900;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 138, 4, 0.3);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-pizza {
    width: 100%;
    max-width: 500px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(202, 138, 4, 0.3));
}

.hero-pizza-placeholder {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #DC2626 0%, #991b1b 40%, #450A0A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 30px 80px rgba(202, 138, 4, 0.25);
}

.hero-pizza-placeholder .pizza-icon-big {
    position: absolute;
    width: 70%;
    height: 70%;
}

.hero-pizza-placeholder .pizza-slice {
    position: absolute;
    width: 120px;
    height: 120px;
    color: #CA8A04;
    opacity: 0.15;
}

.hero-pizza-placeholder .pizza-slice:nth-child(2) {
    top: 10%;
    right: 5%;
    width: 80px;
    height: 80px;
}
.hero-pizza-placeholder .pizza-slice:nth-child(3) {
    bottom: 15%;
    left: 8%;
    width: 60px;
    height: 60px;
}

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

/* Hero Decorative elements */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
}

.hero-decoration-1 {
    width: 300px;
    height: 300px;
    background: #CA8A04;
    top: -80px;
    right: -80px;
}

.hero-decoration-2 {
    width: 200px;
    height: 200px;
    background: #fff;
    bottom: 10%;
    left: -60px;
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content p {
        max-width: none;
    }

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

    .hero-visual {
        display: none;
    }
}

/* ----- Features / Highlights ----- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(69, 10, 10, 0.05);
    transition: all 0.3s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    color: #DC2626;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----- Popular Dishes ----- */
.menu-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.dish-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(69, 10, 10, 0.05);
    transition: all 0.3s ease;
    cursor: default;
}

.dish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.12);
}

.dish-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.dish-img-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #fecd7e 0%, #e8956a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.dish-img-placeholder svg {
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.4);
}

.dish-img-placeholder .dough-bg {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.dish-body {
    padding: 1.5rem;
}

.dish-body h3 {
    margin-bottom: 0.4rem;
}

.dish-body .dish-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.dish-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dish-price {
    font-family: 'Playfair Display SC', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #CA8A04;
}

.dish-badge {
    font-size: 0.75rem;
    background: #DC2626;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(69, 10, 10, 0.15);
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #450A0A 0%, #7f1d1d 50%, #DC2626 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder svg {
    width: 120px;
    height: 120px;
    color: rgba(254, 242, 242, 0.2);
}

.about-image-placeholder .about-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(202, 138, 4, 0.15);
    width: 200px;
    height: 200px;
    top: -40px;
    right: -40px;
}

.about-image-placeholder .about-circle-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    top: auto;
    right: auto;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text .about-signature {
    font-family: 'Playfair Display SC', serif;
    font-size: 1.2rem;
    color: #DC2626;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ----- Opening Hours ----- */
.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.hours-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-family: 'Karla', sans-serif;
}

.hours-day .day {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.hours-day .time {
    font-weight: 400;
    color: rgba(254, 242, 242, 0.8);
}

.hours-day.today {
    background: rgba(202, 138, 4, 0.2);
    border: 1px solid rgba(202, 138, 4, 0.3);
}

.hours-day.today .time {
    color: #CA8A04;
    font-weight: 600;
}

/* ----- Gallery ----- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

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

.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(69, 10, 10, 0.8));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-placeholder {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
}

/* ----- Contact ----- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item svg {
    width: 24px;
    height: 24px;
    color: #DC2626;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-item h4 {
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #DC2626;
    margin-bottom: 0.3rem;
}

.contact-info-item p {
    color: #555;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(69, 10, 10, 0.05);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    color: #450A0A;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e5e0d8;
    border-radius: 8px;
    font-family: 'Karla', sans-serif;
    font-size: 0.95rem;
    background: #faf7f2;
    transition: all 0.2s ease;
    color: #450A0A;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #DC2626;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

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

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

/* ----- Menu Page ----- */
.menu-category {
    margin-bottom: 4rem;
}

.menu-category h2 {
    margin-bottom: 2rem;
    color: #DC2626;
}

.menu-items {
    display: grid;
    gap: 1rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(69, 10, 10, 0.04);
    transition: all 0.25s ease;
    cursor: default;
}

.menu-item:hover {
    box-shadow: 0 6px 20px rgba(69, 10, 10, 0.08);
    transform: translateX(4px);
}

.menu-item-info h3 {
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.menu-item-info p {
    font-size: 0.85rem;
    color: #888;
}

.menu-item-price {
    font-family: 'Playfair Display SC', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #CA8A04;
    white-space: nowrap;
    margin-left: 1rem;
}

/* ----- Team / About page ----- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.team-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(69, 10, 10, 0.05);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(69, 10, 10, 0.1);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #DC2626, #450A0A);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.team-avatar svg {
    width: 48px;
    height: 48px;
}

.team-card h3 {
    margin-bottom: 0.25rem;
}

.team-card .team-role {
    color: #CA8A04;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.team-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ----- Story section (About page) ----- */
.story-section {
    max-width: 800px;
    margin: 0 auto;
}

.story-section p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

.story-section p:first-of-type::first-letter {
    font-family: 'Playfair Display SC', serif;
    font-size: 3.5rem;
    float: left;
    line-height: 0.8;
    padding-right: 0.5rem;
    color: #DC2626;
}

/* ----- Online Ordering ----- */
.order-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    font-family: 'Playfair Display SC', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #CA8A04;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.step-card p {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .order-steps {
        grid-template-columns: 1fr;
    }
}

/* ----- Footer ----- */
.footer {
    background: #2D0A0A;
    color: rgba(254, 242, 242, 0.7);
    padding: 4rem 0 2rem;
}

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

.footer-brand h3 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(254, 242, 242, 0.6);
}

.footer-col h4 {
    color: #fff;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

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

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(254, 242, 242, 0.6);
    font-size: 0.9rem;
    transition: color 0.2s ease;
    cursor: pointer;
}

.footer-col a:hover {
    color: #CA8A04;
}

.footer-bottom {
    border-top: 1px solid rgba(254, 242, 242, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(254, 242, 242, 0.5);
    cursor: pointer;
}

.footer-bottom-links a:hover {
    color: #CA8A04;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ----- Legal Pages (Impressum / Datenschutz) ----- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-family: 'Karla', sans-serif;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

/* ----- Page Header ----- */
.page-header {
    padding: 8rem 0 3rem;
    background: linear-gradient(135deg, #450A0A, #7f1d1d);
    color: #fff;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(254, 242, 242, 0.7);
    font-size: 1.1rem;
}

/* ----- Success Message ----- */
.success-message {
    background: #d4edda;
    color: #155724;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

/* ----- Animations ----- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ----- Responsive helpers ----- */
@media (max-width: 375px) {
    html { font-size: 14px; }
    .container { padding: 0 1rem; }
    .section { padding: 3rem 0; }
}

@media (min-width: 1440px) {
    .container { max-width: 1320px; }
}

/* Print */
@media print {
    .navbar { position: relative; }
    .hero { min-height: auto; }
    .btn { display: none; }
    .hamburger { display: none; }
}
