/* Additional custom styles beyond Tailwind */

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: #8b5a2b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c9a961;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #8b5a2b #0d0d0d;
}

/* Selection color */
::selection {
    background: rgba(201, 169, 97, 0.4);
    color: #e8e6e3;
}

/* Image hover effects */
.image-hover-zoom {
    transition: transform 0.7s ease;
}

.image-hover-zoom:hover {
    transform: scale(1.05);
}

/* Text shadow for better readability on images */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Loading animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, #1a1a1a 4%, #2a2520 25%, #1a1a1a 36%);
    background-size: 1000px 100%;
}

/* Modal transition */
.modal {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
}

.modal > div:nth-child(2) {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.active > div:nth-child(2) {
    transform: scale(1);
}

/* Button press effect */
button:active {
    transform: scale(0.98);
}

/* Link underline animation */
.link-underline {
    position: relative;
    display: inline-block;
}

.link-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #8b5a2b;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.link-underline:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Glassmorphism effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    h1, h2, h3 {
        letter-spacing: -0.01em;
    }
}

/* Print styles */
@media print {
    .grain,
    nav,
    footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
.newsletter-section {
    background:
        linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.88)),
        radial-gradient(circle at center, rgba(201, 169, 97, 0.08), transparent 55%),
        var(--color-bg);
}

.newsletter-wrap {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    max-width: 460px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.newsletter-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.96);
    color: #111;
    border: 1px solid rgba(201, 169, 97, 0.65);
    border-radius: 2px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-accent);
    border-radius: 2px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.newsletter-btn:hover {
    background: rgba(201, 169, 97, 0.12);
    color: #fff;
}

.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.newsletter-consent input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.newsletter-note {
    margin-top: 2rem;
    color: var(--color-text-muted);
    font-size: 15px;
}

.hidden-field {
    position: absolute;
    left: -5000px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}