/* css/style.css */

/* ------------------------------
   Base
------------------------------ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    background-color: #f5f5f4;
    color: #111111;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button {
    font-family: inherit;
}

h1,
h2,
h3,
.section-title,
.btn {
    font-family: "Lexend Giga", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
}

/* ------------------------------
   Layout helpers
------------------------------ */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-title {
    font-size: 1.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 0.4rem;
}

.section-sub {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.two-column {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .two-column {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: flex-start;
    }
}

/* ------------------------------
   Skip link
------------------------------ */

.skip-link {
    position: absolute;
    left: -999px;
    top: 0.75rem;
    padding: 0.5rem 1rem;
    background-color: #111111;
    color: #ffffff;
    z-index: 2000;
    border-radius: 999px;
    font-size: 0.8rem;
}

.skip-link:focus {
    left: 0.75rem;
}

/* ------------------------------
   Header / Nav
------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: clamp(40px, 5vw, 72px);
    width: auto;
}

.logo-text-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
    white-space: nowrap;
}

.site-nav {
    display: none;
}

.site-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-nav a {
    position: relative;
    padding-bottom: 0.15rem;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 0;
    height: 1px;
    background-color: #111111;
    transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    width: 100%;
}

/* mobile nav button */

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: transparent;
    cursor: pointer;
}

.nav-toggle-line {
    width: 1.3rem;
    height: 1px;
    background-color: #111111;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-line:first-child {
    transform: translateY(0.18rem) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-line:last-child {
    transform: translateY(-0.18rem) rotate(-45deg);
}

@media (max-width: 767px) {
    .site-nav {
        position: absolute;
        inset: 100% 0 auto auto;
        background: #ffffff;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        display: none;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: flex-end;
        padding: 0.75rem 1.5rem 1rem;
        gap: 0.6rem;
    }
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        display: block;
    }
}

/* ------------------------------
   Hero
------------------------------ */

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #e7e5e4;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 60% center;
    /* push image further to the right */
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            #f5f5f4 0%,
            rgba(245, 245, 244, 0.97) 42%,
            transparent 78%);
}

.hero-content {
    position: relative;
    padding: 6rem 1.5rem 4rem;
    max-width: 1120px;
    margin: 0 auto;
}

/* base width of text block */
.hero-text {
    max-width: 380px;
}

@media (min-width: 992px) {
    .hero-text {
        max-width: 460px;
    }
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    text-transform: none;
    letter-spacing: 0.12em;
    margin: 0 0 1rem;
}

.hero p {
    margin: 0 0 2rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* tighten text on small screens so it stays left of the couple */

@media (max-width: 640px) {
    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    .hero-text {
        max-width: 260px;
        /* keeps text well on the left */
    }

    .hero h1 {
        font-size: 1.7rem;
        letter-spacing: 0.08em;
    }

    .hero p {
        font-size: 0.9rem;
    }
}

/* ------------------------------
   Buttons
------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
        transform 0.12s ease;
}

.btn.primary {
    background: #111111;
    color: #f9fafb;
}

.btn.ghost {
    border-color: rgba(15, 23, 42, 0.45);
    color: #111111;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn.primary:hover,
.btn.primary:focus-visible {
    background: #000000;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
    border-color: #111111;
    background: rgba(148, 163, 184, 0.06);
}

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

/* ------------------------------
   About
------------------------------ */

.section-about {
    background: #fefefe;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.section-about p {
    max-width: 30rem;
    font-size: 0.94rem;
    line-height: 1.7;
    opacity: 0.9;
}

.about-meta {
    display: grid;
    gap: 1rem;
    font-size: 0.85rem;
}

.about-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.5;
    margin-bottom: 0.2rem;
    font-family: "Lexend Giga", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    font-size: 0.7rem;
}

.about-value {
    font-size: 0.95rem;
}

/* ------------------------------
   Portfolio
------------------------------ */

.section-portfolio {
    background: #f5f5f4;
}

.section-header-inline {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

@media (min-width: 640px) {
    .section-header-inline {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }
}

/* masonry on tablet/desktop */
.portfolio-grid {
    column-count: 1;
    column-gap: 1rem;
}

@media (min-width: 640px) {
    .portfolio-grid {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        column-count: 3;
    }
}

.portfolio-item {
    position: relative;
    display: block;
    margin-bottom: 1rem;
    border-radius: 1.1rem;
    overflow: hidden;
    border: none;
    background: transparent;
    cursor: zoom-in;
    break-inside: avoid;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.portfolio-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.portfolio-tag {
    position: absolute;
    left: 0.9rem;
    bottom: 0.9rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f9fafb;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.portfolio-item:hover img,
.portfolio-item:focus-visible img {
    transform: scale(1.04);
}

.portfolio-item:hover::after,
.portfolio-item:focus-visible::after {
    opacity: 1;
}

.portfolio-item:hover .portfolio-tag,
.portfolio-item:focus-visible .portfolio-tag {
    opacity: 1;
    transform: translateY(0);
}

/* mobile: horizontal scrolling strip */
@media (max-width: 639px) {
    .portfolio-grid {
        column-count: initial;
        column-gap: 0;
        display: flex;
        overflow-x: auto;
        padding-bottom: 0.75rem;
        gap: 0.75rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-item {
        flex: 0 0 80%;
        max-width: 80%;
        margin-bottom: 0;
        scroll-snap-align: start;
    }
}

/* ------------------------------
   Lightbox
------------------------------ */

.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1500;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 1.2rem;
    border: 1px solid rgba(248, 250, 252, 0.9);
    margin-bottom: 0.5rem;
}

.lightbox-caption {
    display: none;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    font-size: 1.4rem;
    cursor: pointer;
}

/* ------------------------------
   Pricing
------------------------------ */

.section-pricing {
    background: #fefefe;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.pricing-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 800px) {
    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pricing-card {
    border-radius: 1.3rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: #ffffff;
    padding: 1.5rem 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-card h3 {
    font-size: 1rem;
    margin: 0;
}

.pricing-price {
    font-size: 1.2rem;
    margin: 0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.88rem;
    opacity: 0.95;
}

.pricing-note {
    font-size: 0.8rem;
    opacity: 0.75;
}

/* ------------------------------
   FAQs
------------------------------ */

.section-faqs {
    background: #f5f5f4;
}

.faq-list {
    display: grid;
    gap: 0.5rem;
}

.faq-item {
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: #ffffff;
    padding: 0.9rem 1rem;
    font-size: 0.88rem;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 0.9rem;
    opacity: 0.5;
    margin-left: 0.75rem;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item p {
    margin: 0.6rem 0 0;
    opacity: 0.9;
}

/* ------------------------------
   Booking
------------------------------ */

.section-booking {
    background: #fefefe;
}

.booking-layout {
    align-items: flex-start;
}

.booking-meta {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.88rem;
    opacity: 0.9;
}

.booking-form {
    border-radius: 1.3rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: #ffffff;
    padding: 1.4rem 1.4rem 1.5rem;
    display: grid;
    gap: 0.9rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.form-row label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.7;
    font-family: "Lexend Giga", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: #f9fafb;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    color: #111111;
}

input::placeholder,
textarea::placeholder {
    color: rgba(148, 163, 184, 0.9);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(15, 23, 42, 0.25);
    outline-offset: 1px;
    background: #ffffff;
}

.has-error {
    border-color: #e11d48 !important;
}

.form-message {
    font-size: 0.8rem;
    margin: 0.4rem 0 0;
    min-height: 1em;
}

/* ------------------------------
   Footer
------------------------------ */

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    padding: 1.2rem 0 1.4rem;
    background: #f9fafb;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.75rem;
    opacity: 0.85;
}

.footer-right {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

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

.footer-social a {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-email a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

@media (min-width: 640px) {
    .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ------------------------------
   Utilities
------------------------------ */

[tabindex="-1"]:focus {
    outline: none;
}