/* ============================================
   Light Over Breakfast — Main Stylesheet
   Color: #104273 (Header & Footer)
   Design: Professional Film Industry
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background-color: #f8f9fa;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #104273;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e8a838;
}

/* --- Container --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVBAR — Centered
   ============================================ */
.navbar {
    background-color: #104273;
    padding: 0.8rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(16, 66, 115, 0.3);
}

.logo-container {
    width: 100%;
    text-align: center;
    margin-bottom: 0.4rem;
}

.logo {
    color: #e8a838;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo:hover {
    color: #ffffff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links li a {
    color: #cdd8e6;
    padding: 0.5rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    background-color: rgba(232, 168, 56, 0.15);
    color: #e8a838;
}

/* ============================================
   HERO HEADER — 2/3 of Original Height
   Original: 320px → Now: ~213px
   ============================================ */
.hero {
    position: relative;
    min-height: 213px;
    max-height: 213px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #104273;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.70;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(16, 66, 115, 0.92) 0%,
        rgba(16, 66, 115, 0.7) 50%,
        rgba(30, 90, 150, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 2rem;
}

.hero-content h1 {
    font-size: 2.4rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.15rem;
    color: #cdd8e6;
    font-weight: 300;
    letter-spacing: 1px;
}

.highlight {
    color: #e8a838;
    font-weight: 600;
}

/* ============================================
   CONTENT SECTION — Alternating Rows
   ============================================ */
.content-section {
    padding: 4rem 0;
}

.layout-row {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #dde4ed;
}

.layout-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* --- Default: Image Left, Text Right --- */
.img-side {
    flex: 0 0 38%;
    max-width: 38%;
    order: 1;
}

.text-side {
    flex: 1;
    order: 2;
}

/* --- Reverse: Text Left, Image Right --- */
.layout-row.reverse .img-side {
    order: 2;
}

.layout-row.reverse .text-side {
    order: 1;
}

.img-side img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(16, 66, 115, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-side img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(16, 66, 115, 0.25);
}

.img-side figcaption {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: #6b7b8d;
    font-style: italic;
    text-align: center;
}

.text-side h2 {
    font-size: 1.8rem;
    color: #104273;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.text-side h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e8a838;
    border-radius: 2px;
}

.text-side p {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1rem;
}

.text-side strong {
    color: #104273;
}

/* ============================================
   PROJECTS PAGE — Intro Block
   ============================================ */
.intro-block {
    margin-bottom: 2.5rem;
}

.intro-block h2 {
    font-size: 1.8rem;
    color: #104273;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.intro-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e8a838;
    border-radius: 2px;
}

.intro-block p {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1rem;
}

/* ============================================
   PROJECTS PAGE — Fancy Image Frames
   ============================================ */
.fancy-image-row {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    justify-content: center;
}

.fancy-frame {
    position: relative;
    flex: 1;
    max-width: 32%;
    padding: 10px;
    background: linear-gradient(135deg, #104273 0%, #1a5a9e 50%, #104273 100%);
    border-radius: 10px;
    box-shadow:
        0 4px 15px rgba(16, 66, 115, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.fancy-frame img {
    border-radius: 6px;
    width: 100%;
    height: auto;
    display: block;
}

.fancy-frame .frame-label {
    display: block;
    text-align: center;
    margin-top: 8px;
    padding: 4px 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e8a838;
}

/* ============================================
   PROJECTS PAGE — Project Cards
   ============================================ */
.project-cards {
    margin-top: 3rem;
}

.project-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(16, 66, 115, 0.08);
    border-bottom: 1px solid #dde4ed;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.project-card:hover {
    box-shadow: 0 6px 24px rgba(16, 66, 115, 0.15);
    transform: translateY(-2px);
}

.project-card-img {
    flex: 0 0 350px;
    max-width: 350px;
}

.project-card-img img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    box-shadow: 0 2px 10px rgba(16, 66, 115, 0.12);
}

.project-card-text {
    flex: 1;
}

.project-card-text h3 {
    font-size: 1.25rem;
    color: #104273;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.4rem;
}

.project-card-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #e8a838;
    border-radius: 2px;
}

.project-card-text p {
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   CONTACT PAGE — Email Card & Form
   ============================================ */

/* --- Hidden Honeypot Field --- */
.hidden-field {
    display: none;
}

/* --- Fancy Email Card --- */
.contact-email-block {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.email-card {
    background: linear-gradient(135deg, #104273 0%, #1a5a9e 50%, #104273 100%);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    text-align: center;
    box-shadow:
        0 6px 20px rgba(16, 66, 115, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 100%;
}

.email-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #cdd8e6;
    margin-bottom: 0.8rem;
}

.email-link {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #e8a838;
    padding: 0.5rem 1rem;
    border: 2px solid rgba(232, 168, 56, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
    word-break: break-all;
}

.email-link:hover {
    background-color: rgba(232, 168, 56, 0.15);
    border-color: #e8a838;
    color: #ffffff;
}

.email-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #8fa8c4;
    font-style: italic;
}

/* --- Contact Form --- */
.contact-form-block {
    margin-top: 3rem;
    padding: 2.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(16, 66, 115, 0.08);
}

.contact-form-block h2 {
    font-size: 1.8rem;
    color: #104273;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-form-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e8a838;
    border-radius: 2px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #104273;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a2e;
    background-color: #f8f9fa;
    border: 2px solid #dde4ed;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #104273;
    box-shadow: 0 0 0 3px rgba(16, 66, 115, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-button {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #104273 0%, #1a5a9e 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 66, 115, 0.2);
}

.form-button:hover {
    background: linear-gradient(135deg, #1a5a9e 0%, #104273 100%);
    box-shadow: 0 4px 16px rgba(16, 66, 115, 0.3);
    transform: translateY(-1px);
}

/* ============================================
   QUOTE BLOCK — Contact Page
   ============================================ */
.quote-block {
    margin-top: 2.5rem;
    padding: 2rem 2.5rem;
    border-left: 4px solid #e8a838;
    background: linear-gradient(135deg, rgba(16, 66, 115, 0.04) 0%, rgba(232, 168, 56, 0.04) 100%);
    border-radius: 0 10px 10px 0;
    position: relative;
}

.quote-block::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 12px;
    font-size: 4rem;
    color: rgba(232, 168, 56, 0.2);
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
}

.quote-block blockquote {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #104273;
    line-height: 1.8;
    margin: 0;
    padding-left: 1.5rem;
}

.quote-block blockquote em {
    color: #e8a838;
    font-style: italic;
}

.quote-block cite {
    display: block;
    margin-top: 1rem;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7b8d;
    font-style: normal;
    letter-spacing: 0.5px;
}

/* ============================================
   DEVELOPMENT PAGE — Phase Cards
   ============================================ */
.phase-cards {
    margin: 2.5rem 0;
}

.phase-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(16, 66, 115, 0.08);
    border-left: 4px solid #e8a838;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.phase-card:last-child {
    margin-bottom: 0;
}

.phase-card:hover {
    box-shadow: 0 6px 24px rgba(16, 66, 115, 0.15);
    transform: translateY(-2px);
}

.phase-card-img {
    flex: 0 0 200px;
    max-width: 350px;
}

.phase-card-img img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    box-shadow: 0 2px 10px rgba(16, 66, 115, 0.12);
}

.phase-card-text {
    flex: 1;
}

.phase-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e8a838;
    background-color: rgba(232, 168, 56, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.phase-card-text h3 {
    font-size: 1.25rem;
    color: #104273;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.4rem;
}

.phase-card-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #e8a838;
    border-radius: 2px;
}

.phase-card-text p {
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   DEVELOPMENT PAGE — Pre-Banner Text
   ============================================ */
.pre-banner-text {
    margin: 3rem 0 2rem;
    text-align: center;
}

.pre-banner-text p {
    font-size: 1.1rem;
    color: #2c3e50;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   DEVELOPMENT PAGE — Banner
   ============================================ */
.dev-banner {
    position: relative;
    min-height: 120px;
    max-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #104273;
    border-radius: 10px;
    margin-bottom: 0;
}

.dev-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.70;
}

.dev-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(16, 66, 115, 0.92) 0%,
        rgba(16, 66, 115, 0.7) 50%,
        rgba(30, 90, 150, 0.6) 100%
    );
}

.dev-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem 2rem;
}

.banner-tagline {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #104273 !important;
    color: #cdd8e6;
    padding: 2rem 0;
    text-align: center;
    width: 100%;
    clear: both;
    position: relative;
    z-index: 1;
}

.footer .container {
    background-color: transparent !important;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #cdd8e6;
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-links a {
    color: #e8a838;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
    .layout-row,
    .layout-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .img-side,
    .layout-row.reverse .img-side {
        flex: 0 0 100%;
        max-width: 100%;
        order: 1;
    }

    .text-side,
    .layout-row.reverse .text-side {
        order: 2;
    }

    .img-side img {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .tagline {
        font-size: 1rem;
    }

    /* Projects: Fancy Frames */
    .fancy-image-row {
        flex-wrap: wrap;
    }

    .fancy-frame {
        max-width: 48%;
        flex: 0 0 48%;
    }

    .fancy-frame:last-child {
        max-width: 100%;
        flex: 0 0 100%;
    }

    /* Projects & Development: Cards */
    .project-card {
        flex-direction: column;
    }

    .project-card-img {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .project-card-img img {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Development: Phase Cards */
    .phase-card {
        flex-direction: column;
    }

    .phase-card-img {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .phase-card-img img {
        max-width: 300px;
        margin: 0 auto;
    }

    /* Development: Banner */
    .dev-banner {
        min-height: 100px;
        max-height: 100px;
    }

    .banner-tagline {
        font-size: 1.2rem;
    }

    /* Contact: Email Card */
    .email-card {
        padding: 2rem;
    }

    .email-link {
        font-size: 1.1rem;
    }

    /* Contact: Form */
    .contact-form-block {
        padding: 2rem;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .navbar {
        padding: 0.6rem 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links li a {
        padding: 0.4rem 0.7rem;
        font-size: 0.85rem;
    }

    .hero {
        min-height: 150px;
        max-height: 150px;
    }

    .hero-content {
        padding: 1.2rem 1rem;
    }

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

    .tagline {
        font-size: 0.9rem;
    }

    .content-section {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .layout-row {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
        padding-bottom: 2rem;
    }

    .text-side h2 {
        font-size: 1.4rem;
    }

    .text-side p {
        font-size: 0.95rem;
    }

    /* Projects: Fancy Frames */
    .fancy-image-row {
        flex-direction: column;
        align-items: center;
    }

    .fancy-frame {
        max-width: 90%;
        flex: 0 0 auto;
    }

    /* Projects & Development: Project Cards */
    .project-card {
        padding: 1rem;
    }

    .project-card-text h3 {
        font-size: 1.1rem;
    }

    /* Development: Phase Cards */
    .phase-card {
        padding: 1rem;
    }

    .phase-card-text h3 {
        font-size: 1.1rem;
    }

    /* Development: Banner */
    .dev-banner {
        min-height: 80px;
        max-height: 80px;
        border-radius: 8px;
    }

    .banner-tagline {
        font-size: 1rem;
    }

    /* Development: Pre-Banner Text */
    .pre-banner-text p {
        font-size: 1rem;
    }

    /* Contact: Email Card */
    .email-card {
        padding: 1.5rem;
    }

    .email-link {
        font-size: 1rem;
    }

    /* Contact: Form */
    .contact-form-block {
        padding: 1.5rem;
    }

    .contact-form-block h2 {
        font-size: 1.4rem;
    }

    .form-button {
        width: 100%;
        padding: 0.85rem 1.5rem;
    }

    /* Contact: Quote */
    .quote-block {
        padding: 1.5rem;
    }

    .quote-block blockquote {
        font-size: 1rem;
    }

    .quote-block::before {
        font-size: 3rem;
        top: -5px;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .hero {
        min-height: 120px;
        max-height: 120px;
    }

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

    .tagline {
        font-size: 0.8rem;
    }

    .nav-links li a {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
}
