/**
 * Custom Styles for Holland House Theme
 * 
 * This file contains custom styles that extend Tailwind CSS
 */

/* Set Inter (sans-serif) for body text */

::selection {
    background-color: #3c3c3b;
    color: #fff;
}

body {
    font-family: 'DIN', 'Inter', sans-serif;
    font-size: 1.25rem; /* 24px - larger body text */
    line-height: 1.5;
    font-weight: 300;
    padding-top: 100px;
}

/* Headings use DIN (sans-serif), normal weight */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DIN', 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: .4rem;
}

/* Ensure headline utilities are not bold */
h1.font-bold,
h2.font-bold,
h3.font-bold,
h4.font-bold,
h5.font-bold,
h6.font-bold {
    font-weight: 400;
}

.site-header {
    height: 100px;
    max-height: 100px;
}

.bg-sand {
    background-color: #f7f2f0;
}

.wysiwyg h2 {
    font-size: 3rem;
}

.wysiwyg h3 {
    font-size: 2.5rem;
}

.wysiwyg h4 {
    font-size: 1.5rem;
}

.wysiwyg--light,
.wysiwyg--light p,
.wysiwyg--light ul,
.wysiwyg--light ol,
.wysiwyg--light li,
.wysiwyg--light h1,
.wysiwyg--light h2,
.wysiwyg--light h3,
.wysiwyg--light h4,
.wysiwyg--light h5,
.wysiwyg--light h6 {
    color: #fff;
}

.wysiwyg--light a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.7);
}

.wysiwyg--light .button {
    color: #222;
    background-color: #fff;
    border-color: #fff;
}


.wysiwyg p, .wysiwyg ul, .wysiwyg ol {
    margin-bottom: 1rem;
}

.introduction .wysiwyg p {
    font-family: 'DIN', 'Inter', sans-serif;
    font-size: 1.6em;
    line-height: 1.4;
}

.footer-column img {
    display: block;
    margin-bottom: 1rem;
}

/* Text link with arrow */
.primary-navigation a,
.text-link-arrow span {
    text-decoration: none;
    font-weight: 700 !important;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.primary-navigation a {
    display: inline-block;
    padding: 10px;
}

.primary-navigation li:last-of-type a {
    padding-right: 0;
}


.text-link-arrow svg {
    transition: transform 0.2s ease;
}

.text-link-arrow:hover svg {
    transform: translateX(3px);
}

/* Input/textarea inner shadow only */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Contact Form 7 base styles */
.wpcf7 form {
    display: block;
}

.wpcf7-form p {
    margin-bottom: 1rem;
}

.wpcf7-form label {
    display: block;
    font-weight: 500;
    color: #1f2933;
    margin-bottom: 0.25rem;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-textarea,
.wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: #111827;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
    font-size: 1rem;
}

.wpcf7-form-control.wpcf7-textarea {
    min-height: 160px;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-tel:focus,
.wpcf7-form-control.wpcf7-textarea:focus,
.wpcf7-form-control.wpcf7-select:focus {
    outline: none;
    border-color: #6b7280;
}

.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: none;
    color: #111827;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
}

.wpcf7-submit:hover {
    color: #374151;
}

.wpcf7-submit::after {
    content: '→';
    display: inline-block;
    margin-left: 0.25rem;
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.wpcf7-submit:hover::after {
    transform: translateX(3px);
}

.wpcf7-spinner {
    margin-left: 0.75rem;
}

/* Contact Form 7 response messages */
.wpcf7-response-output {
    margin: 1rem 0 0 0;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.wpcf7 form.invalid .wpcf7-response-output {
    background-color: #fffbeb;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.wpcf7-not-valid-tip {
    font-size: 0.75rem;
    color: #b91c1c;
    margin-top: 0.25rem;
}

/* Image reveal mask – swipe up then reveal */
.image-reveal-mask {
    height: 100%;
    transform-origin: bottom;
    transition: height 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-reveal-wrapper.revealed .image-reveal-mask {
    height: 0;
}

/* Contact form message states */
#contact-form-message.success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

#contact-form-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Nav line – initial state */
.nav-line {
    width: 0;
    left: 0;
    transition: left 0.35s ease-out, width 0.35s ease-out, opacity 0.25s ease-out;
}

/* Hamburger → X */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.nav-overlay-open {
    opacity: 1;
    visibility: visible;
}
.nav-overlay-link {
    opacity: 0;
    transform: translateX(-20px);
}
.nav-overlay-link.nav-overlay-link-visible {
    opacity: 1;
    transform: translateX(0);
}