/* General Styles - Logan Detty Photo Dark Theme */
@import url('/css/navbar.css');

:root {
    --primary: #fdad01;
    --bg-dark: #0a0a0a;
    --bg-card: #111;
    --bg-light: #1a1a1a;
    --text-primary: #fff;
    --text-secondary: #aaa;
    --text-muted: #666;
}

body {
    font-family: 'lato', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.65;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-size: 16px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 56px;
    margin-top: 0;
    color: var(--primary);
    text-align: center;
    letter-spacing: -0.01em;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.2;
    color: var(--primary);
    margin-top: 80px;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.01em;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 40px;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    font-weight: 700;
}

p {
    margin-bottom: 24px;
    margin-top: 0;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

a {
    color: var(--primary);
}

a:hover {
    text-decoration: underline;
}

@font-face {
    font-family: 'Lato';
    src: url('/fonts/Lato-Regular.woff2') format('woff2'),
        url('/fonts/Lato-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('/fonts/Lato-Bold.woff2') format('woff2'),
        url('/fonts/Lato-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.paragraph-container {
    padding-left: 40px;
    padding-right: 40px;
    margin-bottom: 40px;
}

.learn-more-btn {
    background-color: var(--primary);
    border: none;
    color: #000;
    padding: 16px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-top: 32px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.learn-more-btn:hover {
    background-color: var(--text-primary);
    color: #000;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #000;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

/* Contact Section */
.contact {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
    background-color: var(--bg-light);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 48px;
    margin-top: 0;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    max-width: 1000px;
    width: 100%;
}

.contact-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.contact h3 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-secondary);
}

.contact a {
    background-color: var(--primary);
    border: none;
    color: #000;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 200px;
}

.contact a:hover {
    background-color: var(--text-primary);
    color: #000;
    text-decoration: none;
}

/* CTA Section (Global) */
.cta-section {
    padding: 120px 40px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-dark) 100%);
    text-align: center;
}

.cta-section h2 {
    margin-top: 0;
    color: var(--text-primary);
}

.cta-section p {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-video,
.hero-image,
.hero-grid-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.hero-video,
.hero-image {
    filter: brightness(50%);
}

.hero-grid-slideshow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: #000;
    overflow: hidden;
}

.hero-grid-column {
    position: relative;
    height: 100%;
    overflow: hidden;
    min-height: 0;
    min-width: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.hero-grid-column::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Consistent overlay */
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroCrossfade 16s infinite;
    -webkit-animation: heroCrossfade 16s infinite;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity;
}

/* Staggered animation delays for columns. 
   Using negative delays ensures the animation is already in progress on load.
   Each slide is visible for 4s in a 16s cycle.
*/
.hero-grid-column:nth-child(1) .hero-slide:nth-child(1) {
    animation-delay: -0s;
}

.hero-grid-column:nth-child(1) .hero-slide:nth-child(2) {
    animation-delay: -4s;
}

.hero-grid-column:nth-child(1) .hero-slide:nth-child(3) {
    animation-delay: -8s;
}

.hero-grid-column:nth-child(1) .hero-slide:nth-child(4) {
    animation-delay: -12s;
}

.hero-grid-column:nth-child(2) .hero-slide:nth-child(1) {
    animation-delay: -2s;
}

.hero-grid-column:nth-child(2) .hero-slide:nth-child(2) {
    animation-delay: -6s;
}

.hero-grid-column:nth-child(2) .hero-slide:nth-child(3) {
    animation-delay: -10s;
}

.hero-grid-column:nth-child(2) .hero-slide:nth-child(4) {
    animation-delay: -14s;
}

.hero-grid-column:nth-child(3) .hero-slide:nth-child(1) {
    animation-delay: -1s;
}

.hero-grid-column:nth-child(3) .hero-slide:nth-child(2) {
    animation-delay: -5s;
}

.hero-grid-column:nth-child(3) .hero-slide:nth-child(3) {
    animation-delay: -9s;
}

.hero-grid-column:nth-child(3) .hero-slide:nth-child(4) {
    animation-delay: -13s;
}

.hero-grid-column:nth-child(4) .hero-slide:nth-child(1) {
    animation-delay: -3s;
}

.hero-grid-column:nth-child(4) .hero-slide:nth-child(2) {
    animation-delay: -7s;
}

.hero-grid-column:nth-child(4) .hero-slide:nth-child(3) {
    animation-delay: -11s;
}

.hero-grid-column:nth-child(4) .hero-slide:nth-child(4) {
    animation-delay: -15s;
}

@keyframes heroCrossfade {

    0%,
    20% {
        opacity: 0.001;
    }

    25%,
    45% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0.001;
    }
}

@-webkit-keyframes heroCrossfade {

    0%,
    20% {
        opacity: 0.001;
    }

    25%,
    45% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0.001;
    }
}

@media screen and (max-width: 1024px) {
    .hero-grid-slideshow {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .hero-grid-slideshow {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        height: 100%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    pointer-events: none;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    margin-top: 0;
    color: var(--text-primary);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero-content h2 {
    font-size: 2rem;
    line-height: 1.3;
    color: var(--primary);
    margin-top: 8px;
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

@media screen and (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }
}

.hero-content p {
    font-size: 1.5em;
    color: var(--text-primary);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


/* Quicklinks Section */
.quicklinks-section {
    margin-top: 80px;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.quicklinks-container {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 16px;
    justify-content: center;
}

.quicklink-button {
    padding: 12px 24px;
    margin-right: 8px;
    background-color: var(--primary);
    color: #000;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    border: none;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
}

.quicklink-button:hover {
    background-color: var(--text-primary);
}


/* Loge Media Ad Section */
.loge-media-ad {
    background-color: #000;
    padding: 60px 20px;
    border-top: 1px solid #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loge-media-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    width: 100%;
    background: #111;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
}

.loge-media-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.loge-media-content {
    flex: 1;
}

.loge-media-content h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.loge-media-content p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 100%;
}

.loge-media-btn {
    background-color: var(--primary);
    color: #000;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.loge-media-btn:hover {
    background-color: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .loge-media-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 32px 24px;
    }

    .loge-media-logo img {
        height: 50px;
        margin: 0 auto;
    }
}

/* Footer Styles */
.footer {
    padding: 80px 0 0;
    background-color: #000;
    color: var(--text-secondary);
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-logo {
    text-align: left;
    margin-bottom: 0px;
    flex: 0 0 auto;
}

.footer-logo img {
    height: auto;
    width: 200px;
    max-width: 100%;
    border-radius: 8px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-bottom: 0px;
    max-width: 900px;
    margin-left: 0;
    margin-right: 0;
    flex: 1;
    justify-content: flex-end;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-column h4 {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 12px 0;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding: 32px 40px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Media Queries */
@media screen and (max-width: 800px) {
    .navbar {
        padding: 12px 20px;
    }
}

.quicklinks-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .button-nav {
        width: 100%;
        padding: 2px 2px;
        align-items: center;
    }

    .button-footer {
        display: grid;
        text-align: center;
        grid-template-columns: auto auto;
    }

    .quicklink-button {
        padding: 8px 16px;
        margin-right: 8px;
        font-size: 14px;
    }

    .quicklinks-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        justify-items: center;
    }

    .footer-container {
        padding: 0 24px 64px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer {
        padding: 64px 0 0;
    }

    .footer-logo {
        margin-bottom: 48px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-logo img {
        width: 180px;
    }

    .footer-column {
        align-items: center;
        gap: 12px;
    }

    .cta-section {
        padding: 80px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .loge-media-btn {
        width: 100%;
        text-align: center;
        max-width: 300px;
    }
}