/* ============================================
   The Regal Beagle — Styles
   Clean minimalist · Teal + Slate grey
   ============================================ */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--slate-900);
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--teal-600);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 520px;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

.btn--primary {
    background: var(--teal-600);
    color: #fff;
    border-color: var(--teal-600);
}

.btn--primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: #fff;
    color: var(--teal-700);
    border-color: #fff;
}

.btn--full {
    width: 100%;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--slate-200);
}

.nav.scrolled .nav-logo {
    color: var(--slate-800);
}

.nav.scrolled .nav-links a {
    color: var(--slate-600);
}

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

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
}

.nav-logo-icon {
    width: 28px;
    height: 28px;
    color: #fff;
}

.nav.scrolled .nav-logo-icon {
    color: var(--teal-600);
}

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

.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 8px 20px;
    transition: all 0.3s ease !important;
}

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

.nav-cta:hover {
    background: #fff;
    color: var(--teal-700) !important;
    border-color: #fff !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav.scrolled .nav-toggle span {
    background: var(--slate-700);
}

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

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-600) 40%, var(--slate-700) 100%);
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.gradient-orb--1 {
    width: 600px;
    height: 600px;
    background: var(--teal-400);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.gradient-orb--2 {
    width: 400px;
    height: 400px;
    background: var(--slate-500);
    bottom: -100px;
    left: -50px;
    animation-delay: -3s;
}

.gradient-orb--3 {
    width: 250px;
    height: 250px;
    background: var(--teal-300);
    top: 40%;
    left: 15%;
    animation-delay: -5s;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

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

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
}

.hero-headline {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    color: #fff;
    margin-bottom: 28px;
    line-height: 1.05;
}

.hero-headline em {
    font-style: italic;
    color: var(--teal-200);
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 44px;
    line-height: 1.8;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bobble 2s ease-in-out infinite;
}

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

/* --- Section spacing --- */
.section {
    padding: 120px 0;
}

/* --- Divider --- */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--teal-300);
}

.divider svg {
    opacity: 0.5;
}

/* --- About --- */
.about {
    background: var(--slate-50);
}

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

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

.about-image-wrap img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

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

.about-image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
    pointer-events: none;
}

.about-content {
    padding: 20px 0;
}

.about-content p {
    color: var(--slate-600);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.85;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--slate-200);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--teal-600);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--slate-500);
    letter-spacing: 0.04em;
}

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

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .section-desc {
    margin: 0 auto;
}

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

.product-card {
    position: relative;
    overflow: hidden;
    display: block;
    group: true;
}

.product-card-img {
    overflow: hidden;
    aspect-ratio: 6/5;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.product-card:hover .product-card-img img {
    transform: scale(1.06);
}

.product-card-content {
    padding: 24px 4px;
}

.product-card h3 {
    font-size: 1.4rem;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.product-card p {
    font-size: 0.88rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 12px;
}

.product-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    transition: letter-spacing 0.3s ease;
}

.product-card:hover .product-link {
    letter-spacing: 0.16em;
}

/* --- Services --- */
.services {
    background: var(--slate-900);
    color: #fff;
}

.services .section-eyebrow {
    color: var(--teal-400);
}

.services .section-title {
    color: #fff;
}

.services .section-title em {
    color: var(--teal-300);
}

.services .section-desc {
    color: var(--slate-400);
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.service-item:first-child {
    border-top: none;
}

.service-item:hover {
    padding-left: 8px;
}

.service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--teal-400);
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background: var(--teal-600);
    border-color: var(--teal-600);
    color: #fff;
}

.service-item h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.75;
}

/* --- Testimonial --- */
.testimonial {
    background: var(--teal-50);
    padding: 100px 0;
}

.testimonial-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-quote {
    color: var(--teal-600);
    margin-bottom: 24px;
    opacity: 0.3;
}

.testimonial blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 300;
    font-style: italic;
    color: var(--slate-800);
    line-height: 1.6;
    margin-bottom: 36px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--teal-200);
}

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

.author-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--slate-800);
}

.author-detail {
    font-size: 0.78rem;
    color: var(--slate-400);
    letter-spacing: 0.05em;
}

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

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

.visit-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.visit-detail svg {
    flex-shrink: 0;
    color: var(--teal-600);
    margin-top: 2px;
}

.visit-detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.visit-detail-value {
    display: block;
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.visit-detail-value a {
    color: var(--slate-700);
    transition: color 0.3s ease;
}

.visit-detail-value a:hover {
    color: var(--teal-600);
}

.visit-map {
    position: relative;
    overflow: hidden;
}

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

.map-link {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--teal-600);
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.map-link:hover {
    background: var(--teal-700);
    transform: translateY(-2px);
}

/* --- Contact --- */
.contact {
    background: var(--slate-50);
}

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

.contact-quick {
    display: flex;
    gap: 24px;
    margin-top: 36px;
}

.contact-quick-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--slate-600);
    border-bottom: 1px solid var(--slate-300);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.contact-quick-item:hover {
    color: var(--teal-600);
    border-color: var(--teal-600);
}

.contact-form-wrap {
    background: #fff;
    padding: 48px;
    border: 1px solid var(--slate-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--slate-800);
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--slate-200);
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-600);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-300);
}

.form-group select {
    cursor: pointer;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    color: var(--teal-700);
    font-size: 0.88rem;
    margin-top: 8px;
}

.form-success.show {
    display: flex;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--teal-400);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--slate-500);
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 20px;
}

.footer-col a,
.footer-col span {
    display: block;
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.9;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.78rem;
    color: var(--slate-600);
}

.footer-note {
    color: var(--slate-600);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .services-layout,
    .visit-grid,
    .contact-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: right 0.5s var(--ease-out);
    }

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

    .nav-links a {
        color: var(--slate-700) !important;
        font-size: 0.9rem;
    }

    .nav-links a:hover {
        color: var(--teal-600) !important;
    }

    .nav-cta {
        border-color: var(--teal-600) !important;
        color: var(--teal-600) !important;
    }

    .nav-cta:hover {
        background: var(--teal-600) !important;
        color: #fff !important;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero {
        min-height: 100svh;
        padding: 100px 24px 60px;
    }

    .hero-headline {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .section {
        padding: 80px 0;
    }

    .about-grid,
    .services-layout,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrap img {
        height: 450px;
    }

    .about-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

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

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

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contact-quick {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
