/* ============================================
   Telge Donuts — Custom Styles
   Classic & Elegant · Teal + Slate Grey
   ============================================ */

/* --- 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 {
    line-height: 1.6;
    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;
}

/* --- Scroll Reveal (Progressive Enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Navigation --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding: 1.25rem 0;
}

.nav-fixed.scrolled {
    background: rgba(15, 76, 92, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
    backdrop-filter: blur(10px);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #f5ebe0;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-logo-text {
    transition: opacity 0.3s;
}

.nav-logo:hover .nav-logo-text {
    opacity: 0.8;
}

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

.nav-link {
    color: rgba(245, 235, 224, 0.85);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f5ebe0;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #f5ebe0;
}

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

.nav-cta {
    background: rgba(245, 235, 224, 0.15);
    border: 1px solid rgba(245, 235, 224, 0.3);
    color: #f5ebe0;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.nav-cta:hover {
    background: rgba(245, 235, 224, 0.25);
    border-color: rgba(245, 235, 224, 0.5);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    color: #f5ebe0;
    padding: 0.5rem;
    transition: color 0.3s;
}

.nav-toggle:hover {
    color: #f5ebe0;
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 31, 38, 0.72) 0%,
        rgba(15, 76, 92, 0.68) 50%,
        rgba(6, 31, 38, 0.82) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(245, 235, 224, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 235, 224, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
}

.hero-badge svg {
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: #f5ebe0;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-accent {
    font-style: italic;
    font-weight: 400;
    color: #b8dcef;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(245, 235, 224, 0.75);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #f5ebe0;
    color: #0f4c5c;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
    background: transparent;
    color: #f5ebe0;
    border: 1px solid rgba(245, 235, 224, 0.4);
}

.btn-ghost:hover {
    background: rgba(245, 235, 224, 0.1);
    border-color: rgba(245, 235, 224, 0.7);
}

.btn-secondary {
    background: #0f4c5c;
    color: #f5ebe0;
}

.btn-secondary:hover {
    background: #0c3d4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 76, 92, 0.3);
}

.btn-outline {
    background: transparent;
    color: #0f4c5c;
    border: 1px solid #0f4c5c;
}

.btn-outline:hover {
    background: #0f4c5c;
    color: #f5ebe0;
    transform: translateY(-2px);
}

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

/* --- Hero Scroll Indicator --- */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(245, 235, 224, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* --- Sections --- */
.section {
    padding: 7rem 0;
}

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

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0f4c5c;
    margin-bottom: 1rem;
    position: relative;
}

.section-label::before,
.section-label::after {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: #8fbec7;
    vertical-align: middle;
    margin: 0 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #37322e;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #6e665c;
    line-height: 1.7;
    font-weight: 300;
}

/* --- About --- */
.about {
    background: #f5ebe0;
}

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

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

.about-image {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 60%;
    height: 40%;
    border: 2px solid #0f4c5c;
    border-radius: 4px;
    z-index: -1;
    opacity: 0.2;
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    font-size: 1.05rem;
    color: #544e46;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 76, 92, 0.15);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #0f4c5c;
}

.stat-label {
    font-size: 0.8rem;
    color: #8e8478;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 3rem;
    background: rgba(15, 76, 92, 0.2);
}

/* --- Products --- */
.products {
    background: #f8f7f4;
}

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

.product-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.product-image-wrap {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.75rem;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #37322e;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.95rem;
    color: #6e665c;
    line-height: 1.6;
    font-weight: 300;
}

.products-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding: 1rem 1.5rem;
    background: rgba(15, 76, 92, 0.06);
    border-radius: 4px;
    font-size: 0.9rem;
    color: #544e46;
}

.products-note svg {
    color: #0f4c5c;
    flex-shrink: 0;
}

/* --- Visit --- */
.visit {
    background: #f5ebe0;
}

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

.visit-info {
    padding: 1rem 0;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.visit-detail {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.visit-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 76, 92, 0.08);
    border-radius: 50%;
    color: #0f4c5c;
    flex-shrink: 0;
}

.visit-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8e8478;
    margin-bottom: 0.25rem;
}

.visit-detail-value {
    display: block;
    font-size: 1rem;
    color: #37322e;
    line-height: 1.6;
}

.visit-link {
    color: #0f4c5c;
    border-bottom: 1px solid rgba(15, 76, 92, 0.3);
    transition: border-color 0.3s, color 0.3s;
}

.visit-link:hover {
    color: #0c3d4a;
    border-color: #0c3d4a;
}

.visit-map {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.map-link {
    position: relative;
    display: block;
}

.map-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 76, 92, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #f5ebe0;
    transition: background 0.3s;
}

.map-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.map-link:hover .map-overlay {
    background: rgba(15, 76, 92, 0.75);
}

/* --- CTA --- */
.cta {
    background: #0f4c5c;
    padding: 6rem 0;
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(184, 220, 239, 0.7);
    margin-bottom: 1rem;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #f5ebe0;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(245, 235, 224, 0.7);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-link {
    color: #b8dcef;
    border-bottom: 1px solid rgba(184, 220, 239, 0.4);
    transition: color 0.3s, border-color 0.3s;
}

.cta-link:hover {
    color: #f5ebe0;
    border-color: #f5ebe0;
}

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

/* --- Footer --- */
.footer {
    background: #061f26;
    color: rgba(245, 235, 224, 0.6);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f5ebe0;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-heading {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 235, 224, 0.4);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #f5ebe0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(245, 235, 224, 0.35);
}

/* --- Mobile Menu --- */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(6, 31, 38, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        backdrop-filter: blur(20px);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu.open .nav-link,
    .nav-menu.open .nav-cta {
        color: #f5ebe0;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99;
    }

    .nav-overlay.active {
        display: block;
    }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        height: 450px;
    }

    .about-image-accent {
        display: none;
    }

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

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

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

@media (max-width: 600px) {
    .section {
        padding: 4.5rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}
