/* ==========================================================================
   Elope Japan Theme Styles
   Design system matched to 37framesphotography.com + destinationweddingjapan.com
   ========================================================================== */

/* ---------- Reset & Base ---------- */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', Georgia, serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(82, 82, 82, 0.6);
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #9F9741;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    color: #9F9741;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}

/* ---------- Layout ---------- */

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid rgba(159, 151, 65, 0.15);
    transition: background 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: rgba(82, 82, 82, 0.6);
    text-transform: uppercase;
    text-decoration: none;
}

.site-title:hover {
    color: #9F9741;
    opacity: 1;
}

/* Navigation */

.site-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.site-nav .nav-list li a {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(82, 82, 82, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-nav .nav-list li a:hover,
.site-nav .nav-list li.current-menu-item a {
    color: #9F9741;
    opacity: 1;
}

/* Hamburger toggle */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 1px;
    background-color: rgba(82, 82, 82, 0.6);
    transition: all 0.3s ease;
}

/* ---------- Hero Section ---------- */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* PLACEHOLDER: Replace background-image with your hero photo */
    background: #3a3a3a;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.55);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 2rem;
}

.hero-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 3rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 500px;
    margin: 0 auto;
}

/* ---------- Sections ---------- */

.section {
    padding: 6rem 0;
}

.section-alt {
    background: #fafaf8;
}

.section-dark {
    position: relative;
    color: #fff;
    padding: 6rem 0;
    /* PLACEHOLDER: Replace with your image */
    background: #3a3a3a;
}

.section-dark .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.section-dark .container {
    position: relative;
    z-index: 2;
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

/* Divider */

.divider {
    width: 60px;
    height: 1px;
    background: #9F9741;
    margin: 2.5rem auto;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.9rem 2.5rem;
    border: 1px solid #9F9741;
    color: #9F9741;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background: #9F9741;
    color: #fff;
    opacity: 1;
}

.btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: #9F9741;
}

/* ---------- Location Grid ---------- */

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.location-item {
    text-align: center;
}

.location-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    margin-bottom: 1rem;
    overflow: hidden !important;
    background-color: #e8e6dc;
}

.location-image img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.location-name {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(82, 82, 82, 0.6);
}

/* ---------- Steps ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 2rem;
    color: #9F9741;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.95rem;
}

/* ---------- Awards ---------- */

.awards-line {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(82, 82, 82, 0.4);
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(159, 151, 65, 0.15);
    border-bottom: 1px solid rgba(159, 151, 65, 0.15);
}

/* ---------- CTA Strip ---------- */

.cta-strip {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    /* PLACEHOLDER: Replace with a background image */
    background: #3a3a3a;
    color: #fff;
}

.cta-strip h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-strip p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* ---------- Contact Form ---------- */

.contact-intro {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.wpcf7 {
    max-width: 600px;
    margin: 0 auto;
}

.wpcf7 label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(82, 82, 82, 0.6);
    margin-bottom: 0.4rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    color: rgba(82, 82, 82, 0.8);
    padding: 0.8rem 1rem;
    border: 1px solid rgba(159, 151, 65, 0.3);
    background: #fff;
    outline: none;
    transition: border-color 0.3s ease;
    margin-bottom: 1.5rem;
    -webkit-appearance: none;
    border-radius: 0;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #9F9741;
}

.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7 input[type="submit"] {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.9rem 2.5rem;
    border: 1px solid #9F9741;
    color: #9F9741;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    border-radius: 0;
}

.wpcf7 input[type="submit"]:hover {
    background: #9F9741;
    color: #fff;
}

.form-row {
    margin-bottom: 0.25rem;
}

.form-row.text-center,
.form-row.text-center p {
    text-align: center;
}

.form-note {
    text-align: center !important;
    margin: 2.5rem auto 0 !important;
    font-size: 0.9rem;
    color: rgba(82, 82, 82, 0.45);
    max-width: 600px !important;
    display: block !important;
}

/* ---------- Experience Page ---------- */

.experience-section {
    padding: 5rem 0;
    text-align: center;
}

.experience-section p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 4rem 0 3rem;
    text-align: center;
    border-top: 1px solid rgba(159, 151, 65, 0.15);
}

.footer-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-title {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9F9741;
}

.footer-subtitle {
    display: block;
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(82, 82, 82, 0.45);
    margin-top: 0.25rem;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav-list li a {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(82, 82, 82, 0.5);
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(82, 82, 82, 0.55);
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #9F9741;
    opacity: 1;
}

.footer-legal p {
    font-size: 0.75rem;
    color: rgba(82, 82, 82, 0.35);
}

/* ---------- Page Header (inner pages) ---------- */

.page-header {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* PLACEHOLDER: Replace with page header image */
    background: #3a3a3a;
    margin-top: 0;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 2rem;
}

.page-header-content h1 {
    color: #fff;
    font-size: 2.2rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ---------- Body offset for fixed header ---------- */

body {
    padding-top: 70px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {

    /* Header */
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 200;
    }

    .site-nav.is-open {
        right: 0;
    }

    .site-nav .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .site-nav .nav-list li a {
        font-size: 0.85rem;
        letter-spacing: 0.25em;
    }

    /* Close button state */
    .nav-toggle.is-active {
        position: fixed;
        top: 1.25rem;
        right: 2rem;
        z-index: 300;
    }

    .nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    /* Hero */
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 0.2em;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    /* Sections */
    .section {
        padding: 4rem 0;
    }

    /* Grid layouts */
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Footer */
    .footer-links a {
        display: block;
        margin: 0.5rem 0;
    }

    .footer-nav-list {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .container {
        padding: 0 1.25rem;
    }
}
