/* 
   Chamberlin House Photography - Coming Soon Page Styling
   Theme: Minimal Premium Luxury (Warm Alabaster & Charcoal)
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300&family=Montserrat:wght@200;300;400&display=swap');

:root {
    --bg-color: #FAF8F5; /* Warm premium cream/alabaster */
    --text-color: #1A1A1A; /* Sleek charcoal */
    --text-muted: #666666; /* Subdued charcoal */
    --border-color: #E2DDD5; /* Delicate beige-gray border */
    --border-hover: #1A1A1A;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition-ease: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-serif);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base fade-in entry animation */
.fade-in-container {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.2s;
    width: 100%;
    max-width: 720px;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brand Logo Styling (Typographic recreation based on brand image) */
.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 6rem;
    user-select: none;
}

.logo-initials {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 7rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.logo-initials span {
    display: block;
}

.logo-divider {
    width: 112px;
    height: 2px;
    background-color: var(--text-color);
    margin: 1rem 0;
}

.logo-main-text {
    font-family: var(--font-serif);
    font-size: 4.4rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    line-height: 1.3;
    margin-top: 1.5rem;
    margin-left: 0.35em; /* Offset letter-spacing at the end */
}

.logo-sub-text {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.6em;
    color: var(--text-color);
    margin-top: 2.2rem;
    margin-left: 0.6em; /* Offset letter-spacing at the end */
    position: relative;
    display: inline-block;
}

.logo-sub-text::before,
.logo-sub-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background-color: var(--text-color);
    opacity: 0.6;
}

.logo-sub-text::before {
    left: -64px;
}

.logo-sub-text::after {
    right: -64px;
}

/* Coming Soon Content */
.content-section {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.headline-container {
    border: 1px solid var(--border-color);
    background-color: rgba(250, 248, 245, 0.88); /* Matching alabaster backdrop with blur */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2.2rem 4.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: inline-block;
    transition: var(--transition-ease);
}

.headline-container:hover {
    border-color: var(--text-color);
}

.headline {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 0;
    color: var(--text-color);
    line-height: 1;
}

.subtext {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Mailing List Form Styling */
.email-capture-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    position: relative;
    width: 100%;
}

.email-input {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--text-color);
    outline: none;
    transition: var(--transition-ease);
    text-align: center;
}

.email-input::placeholder {
    color: #A39F99;
    opacity: 0.7;
    transition: var(--transition-ease);
}

.email-input:focus {
    border-bottom-color: var(--border-hover);
}

.email-input:focus::placeholder {
    opacity: 0;
    transform: translateY(-5px);
}

.submit-btn {
    background-color: var(--text-color);
    color: var(--bg-color);
    border: 1px solid var(--text-color);
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    padding: 0.7rem 1.8rem;
    cursor: pointer;
    transition: var(--transition-ease);
    outline: none;
    margin: 1.5rem auto 0 auto;
    width: auto;
    min-width: 180px;
    display: inline-block;
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--text-color);
}

/* Success Message Area */
.success-message {
    display: none;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-color);
    margin-top: 1.5rem;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness Improvements */
@media (max-width: 480px) {
    .fade-in-container {
        padding: 2rem 1.25rem;
    }
    
    .brand-logo {
        margin-bottom: 4rem;
    }

    .logo-initials {
        font-size: 4.5rem;
        margin-bottom: 1rem;
    }
    
    .logo-main-text {
        font-size: 2.8rem;
        letter-spacing: 0.3em;
    }

    .logo-sub-text {
        font-size: 1.0rem;
        letter-spacing: 0.45em;
        margin-top: 1.5rem;
    }

    .logo-sub-text::before,
    .logo-sub-text::after {
        width: 25px;
    }

    .logo-sub-text::before {
        left: -45px;
    }
    .logo-sub-text::after {
        right: -45px;
    }

    .headline {
        font-size: 2.1rem;
    }

    .subtext {
        font-size: 0.75rem;
    }

    .submit-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.55rem;
        min-width: 150px;
    }
}

/* Footer Navigation Styles */
.footer-nav {
    margin-top: 5rem;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-ease);
    opacity: 1; /* Sharpen text contrast to 100% */
    font-weight: 400;
}

.footer-link:hover {
    color: var(--text-color);
    opacity: 0.8; /* Subtle visual fade on hover */
}

/* Privacy Policy Specific Styles */
.privacy-container {
    max-width: 680px;
}

.logo-compact {
    margin-bottom: 3rem;
    transform: scale(0.95);
}

.privacy-content {
    text-align: left;
    margin-bottom: 4rem;
}

.privacy-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.privacy-date {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 1rem;
}

.policy-section {
    margin-bottom: 2.2rem;
}

.policy-section h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    letter-spacing: 0.02em;
}

.policy-section p {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.policy-section p em {
    font-family: var(--font-serif);
    font-style: italic;
}

.policy-section p strong {
    font-weight: 400;
    color: var(--text-color);
}

.contact-email {
    font-family: var(--font-sans) !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.1em !important;
    color: var(--text-color) !important;
    margin-top: 0.5rem;
}

.privacy-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2.5rem;
}

.back-link {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-ease);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link .arrow {
    transition: var(--transition-ease);
    display: inline-block;
}

.back-link:hover .arrow {
    transform: translateX(-5px);
}

.app-compliance {
    font-family: var(--font-sans);
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.7;
}

    }
}

/* Background Slideshow Styles */
.bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: var(--bg-color);
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bg-slide.active {
    opacity: 0.32; /* Rich but soft watermark visibility */
}

/* soft radial overlay for readability */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle, rgba(250,248,245,0.65) 0%, rgba(250,248,245,0.88) 100%);
    pointer-events: none;
}

/* Footer Navigation Layout Updates */
.copyright-notice {
    font-family: var(--font-sans);
    font-size: 0.55rem;
    font-weight: 400; /* Sharpen font-weight for small size readability */
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 1; /* Sharpen text contrast to 100% */
    margin-top: 1.25rem;
}

.footer-divider {
    color: var(--text-muted);
    opacity: 0.3;
    margin: 0 0.85rem;
    user-select: none;
}

/* Fullscreen Lightbox Portfolio Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 248, 245, 0.98);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-content img.loaded {
    opacity: 1;
    transform: scale(1);
}

.lightbox-counter {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-top: 2rem;
    text-transform: uppercase;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: none;
    border: none;
    font-size: 2.2rem;
    font-weight: 200;
    color: var(--text-color);
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition-ease);
    padding: 0.5rem;
    z-index: 1010;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.08);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.8rem;
    font-weight: 200;
    color: var(--text-color);
    cursor: pointer;
    opacity: 0.3;
    transition: var(--transition-ease);
    padding: 2rem;
    z-index: 1010;
    user-select: none;
}

.lightbox-arrow:hover {
    opacity: 1;
}

.lightbox-arrow.prev {
    left: 2rem;
}

.lightbox-arrow.next {
    right: 2rem;
}

@media (max-width: 768px) {
    .lightbox-arrow {
        padding: 1.25rem;
        font-size: 1.4rem;
    }
    .lightbox-arrow.prev {
        left: 0.5rem;
    }
    .lightbox-arrow.next {
        right: 0.5rem;
    }
    .lightbox-close {
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2rem;
    }
    .lightbox-content img {
        max-height: 65vh;
    }
}

