/* ===== VARIABLES ===== */
:root {
    /* Ocean Blue Palette - from logo */
    --color-ocean-deep: #0b4f6c;
    --color-ocean-dark: #0e7c8a;
    --color-ocean-mid: #2ba5b5;
    --color-ocean-light: #5ec4d0;
    --color-teal: #14a3a8;
    --color-sky: #a8d8e8;
    --color-sky-light: #d4eef6;

    /* Accent colors from logo */
    --color-sand: #d4a030;
    --color-sand-light: #f5f0e8;
    --color-sand-dark: #b8891a;
    --color-brown: #3d1e1e;

    /* Neutrals */
    --color-white: #ffffff;
    --color-text: #2c3e50;
    --color-text-light: #5a6c7d;
    --color-bg: #fafcfd;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-width: 1140px;
    --border-radius: 12px;

    /* Transitions */
    --transition: 0.3s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== SECTION COMMON ===== */
.section {
    padding: var(--section-padding);
}

.section--alt {
    background: var(--color-sand-light);
}

.section__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-ocean-deep);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section__divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-sand), var(--color-ocean-mid));
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}

.section__subtitle {
    text-align: center;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn--primary {
    background: var(--color-sand);
    color: var(--color-white);
    border-color: var(--color-sand);
}

.btn--primary:hover {
    background: var(--color-sand-dark);
    border-color: var(--color-sand-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 160, 48, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-ocean-deep);
    transform: translateY(-2px);
}

/* ===== HEADER / NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.header--scrolled {
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.12);
}

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

.nav__logo img {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.nav__menu {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    position: relative;
    padding: 0.25rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-ocean-mid);
    transition: var(--transition);
    border-radius: 1px;
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--color-ocean-mid);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav__toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-ocean-deep);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-ocean-deep) 0%, var(--color-ocean-dark) 30%, var(--color-teal) 60%, var(--color-ocean-light) 100%);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(168, 216, 232, 0.15) 0%, transparent 50%);
}

.hero__content {
    position: relative;
    text-align: center;
    color: var(--color-white);
    padding: 6rem 1.5rem 4rem;
}

.hero__logo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero__description {
    font-size: 1.15rem;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero .btn {
    margin: 0 0.5rem 1rem;
}

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 80px;
}

/* ===== ABOUT ===== */
.about__text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about__text p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.about__values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.value:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.value__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value h3 {
    font-family: var(--font-heading);
    color: var(--color-ocean-deep);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.value p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ===== PRODUCTS ===== */
.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(14, 124, 138, 0.12);
    border-color: var(--color-ocean-light);
}

.product-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-ocean-deep);
    margin-bottom: 0.75rem;
}

.product-card__desc {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.product-card--wide {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    background: linear-gradient(135deg, var(--color-ocean-deep), var(--color-ocean-dark));
    color: var(--color-white);
}

.product-card--wide .product-card__title {
    color: var(--color-sand);
}

.product-card--wide .product-card__desc {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== COLLECTION POINTS ===== */
.collection__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.collection-item {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.collection-item:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--color-teal);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.collection-item__icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.collection-item h3 {
    font-family: var(--font-heading);
    color: var(--color-ocean-deep);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.collection-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ===== VISIT ===== */
.visit__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.visit__detail {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.visit__detail h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-ocean-deep);
    margin-bottom: 0.5rem;
}

.visit__detail p {
    color: var(--color-text-light);
    line-height: 1.8;
}

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

/* ===== CONTACT ===== */
.contact__form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form__group--full {
    grid-column: 1 / -1;
}

.contact__form input,
.contact__form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: var(--transition);
    background: var(--color-white);
}

.contact__form input:focus,
.contact__form textarea:focus {
    outline: none;
    border-color: var(--color-ocean-mid);
    box-shadow: 0 0 0 3px rgba(43, 165, 181, 0.15);
}

.contact__form .btn {
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 200px;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, var(--color-ocean-dark), var(--color-ocean-deep));
    color: var(--color-white);
    position: relative;
}

.footer__wave {
    position: relative;
    top: -1px;
    line-height: 0;
}

.footer__wave svg {
    width: 100%;
    height: 60px;
}

.footer__content {
    padding: 3rem 1.5rem 2rem;
}

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

.footer__logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer__about p {
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer__links h4,
.footer__social h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-sand);
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer__links a:hover {
    opacity: 1;
    color: var(--color-sand);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-sand);
    transform: translateY(-3px);
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .section__title {
        font-size: 2rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

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

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

    .footer__about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem 0;
    }

    .nav__menu {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.25rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .nav__menu.active {
        transform: translateY(0);
    }

    .nav__toggle {
        display: flex;
    }

    .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__title {
        font-size: 2rem;
    }

    .hero__logo {
        width: 120px;
        height: 120px;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero .btn {
        display: block;
        margin: 0.5rem auto;
        max-width: 250px;
    }

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

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

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

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

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

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

    .hero__title {
        font-size: 1.75rem;
    }
}
