/* ============================================================
   DOUBLE DOG CREATIVE — DESIGN SYSTEM
   Palette:
     --navy:       #0D1B2A  (deep navy, dark backgrounds)
     --navy-mid:   #1A2E45  (mid navy, cards/sections)
     --gold:       #C9A84C  (warm gold, primary accent)
     --gold-light: #E8C96B  (hover/highlight gold)
     --cream:      #F7F3EC  (warm off-white for light sections)
     --slate:      #8A9BB0  (muted text on dark)
     --white:      #FFFFFF
   Type:
     Display: Playfair Display (serif, headlines)
     Body:    Inter (sans-serif, all UI text)
============================================================ */

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

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    color: #0D1B2A;
    background: #ffffff;
    line-height: 1.65;
    margin: 0 !important;        /* override Bootstrap default margin-bottom */
    padding: 0 !important;
}

/* Full-bleed sections — rely on main being truly 100% wide with no padding */
/* The vw trick is not needed since main has no padding; just ensure width:100% */
.ddc-hero,
.ddc-section,
.ddc-page-hero,
.ddc-footer {
    width: 100%;
    box-sizing: border-box;
}

a { color: inherit; text-decoration: none; }
a:hover { color: #C9A84C; }

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

/* ---------- TYPOGRAPHY ---------- */
.display-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

h4, h5, h6, p, li, label, input, button {
    font-family: 'Inter', system-ui, sans-serif;
}

/* ---------- NAV ---------- */
.ddc-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.ddc-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.ddc-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.ddc-brand-icon { font-size: 1.4rem; line-height: 1; }

.ddc-brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.ddc-brand-text em {
    font-style: italic;
    color: #C9A84C;
}

.ddc-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ddc-nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d0dce8;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.ddc-nav-links > li > a:hover {
    color: #C9A84C;
    background: rgba(201, 168, 76, 0.08);
}

.ddc-nav-cta {
    background: #C9A84C !important;
    color: #0D1B2A !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.1rem !important;
    border-radius: 6px !important;
}

.ddc-nav-cta:hover {
    background: #E8C96B !important;
    color: #0D1B2A !important;
}

/* Dropdowns */
.ddc-dropdown { position: relative; }

.ddc-dropdown-toggle { cursor: pointer; }
.ddc-dropdown-toggle svg { transition: transform 0.2s; }
.ddc-dropdown.open .ddc-dropdown-toggle svg { transform: rotate(180deg); }

.ddc-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;           /* flush to the toggle — no gap */
    left: 0;
    min-width: 180px;
    background: #1A2E45;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    list-style: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    z-index: 100;
    /* invisible top padding bridges the gap so mouse doesn't escape */
    padding-top: 0.5rem;
    margin-top: 0;
}

/* Invisible bridge above the menu so the mouse can travel down to it */
.ddc-dropdown-menu::before {
    content: '';
    display: block;
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.ddc-dropdown.open .ddc-dropdown-menu { display: block; }

.ddc-dropdown-menu li a {
    display: block;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: #d0dce8;
    transition: color 0.15s, background 0.15s;
}

.ddc-dropdown-menu li a:hover {
    color: #C9A84C;
    background: rgba(201, 168, 76, 0.1);
}

.rentals-menu { border-top: 2px solid #C9A84C; }
.tech-menu    { border-top: 2px solid #4A9EBF; }

/* Mobile nav toggle */
.ddc-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.ddc-nav-toggle span {
    display: block;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.25s;
}

/* ---------- PAGE OFFSET (fixed nav) ---------- */
main {
    padding-top: 70px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ---------- HERO ---------- */
.ddc-hero {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    /* full-bleed: handled by width:100% on .ddc-section etc above */
}

.ddc-hero-half {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   /* center content horizontally */
    text-align: center;    /* center text */
    padding: 5rem 4rem;
    overflow: hidden;
    flex: 1 1 50%;     /* each half takes exactly 50% */
    min-width: 0;      /* prevent flex blowout */
}

.ddc-hero-half p {
    max-width: 380px;  /* keep paragraphs readable at center */
}

.ddc-hero-half .d-flex {
    justify-content: center;
}

.ddc-hero-half--rentals {
    background: linear-gradient(135deg, #0D1B2A 0%, #1A2E45 100%);
}

.ddc-hero-half--tech {
    background: linear-gradient(135deg, #0A2235 0%, #0D3354 100%);
}

/* decorative grain overlay */
.ddc-hero-half::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.6;
}

.ddc-hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C9A84C;
    margin-bottom: 1.25rem;
}

.ddc-hero-half--tech .ddc-hero-eyebrow { color: #4A9EBF; }

.ddc-hero-half h1 {
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    color: #ffffff;
    margin-bottom: 1.25rem;
    position: relative;
}

.ddc-hero-half p {
    font-size: 1.05rem;
    color: #8A9BB0;
    margin-bottom: 2rem;
    max-width: 380px;
    line-height: 1.7;
    position: relative;
}

.ddc-hero-divider {
    width: 1px;
    flex-shrink: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(201,168,76,0.4) 30%, rgba(201,168,76,0.4) 70%, transparent 100%);
    position: relative;
    z-index: 2;
    align-self: stretch;
}

/* ---------- BUTTONS ---------- */
.ddc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    position: relative;
}

.ddc-btn--gold {
    background: #C9A84C;
    color: #0D1B2A;
}
.ddc-btn--gold:hover { background: #E8C96B; color: #0D1B2A; }

.ddc-btn--outline-gold {
    background: transparent;
    color: #C9A84C;
    border: 1.5px solid #C9A84C;
}
.ddc-btn--outline-gold:hover { background: rgba(201,168,76,0.1); color: #E8C96B; border-color: #E8C96B; }

.ddc-btn--blue {
    background: #4A9EBF;
    color: #ffffff;
}
.ddc-btn--blue:hover { background: #5DB4D6; color: #ffffff; }

.ddc-btn--outline-blue {
    background: transparent;
    color: #4A9EBF;
    border: 1.5px solid #4A9EBF;
}
.ddc-btn--outline-blue:hover { background: rgba(74,158,191,0.1); color: #5DB4D6; border-color: #5DB4D6; }

/* ---------- SECTION LAYOUTS ---------- */
.ddc-section {
    padding: 5rem 2rem;
}

.ddc-section--dark {
    background: #0D1B2A;
    color: #ffffff;
}

.ddc-section--navy {
    background: #1A2E45;
    color: #ffffff;
}

.ddc-section--cream {
    background: #F7F3EC;
}

.ddc-container {
    max-width: 1100px;
    margin: 0 auto;
}

.ddc-section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C9A84C;
    display: block;
    margin-bottom: 0.75rem;
}

.ddc-section-label--blue { color: #4A9EBF; }
.ddc-section-label--slate { color: #8A9BB0; }

.ddc-section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.ddc-section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #8A9BB0;
    max-width: 560px;
}

.ddc-section--dark .ddc-section-title,
.ddc-section--navy .ddc-section-title { color: #ffffff; }

/* ---------- SPLIT INTRO (about-style) ---------- */
.ddc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ddc-split--reverse { direction: rtl; }
.ddc-split--reverse > * { direction: ltr; }

/* ---------- CARDS ---------- */
.ddc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.ddc-card {
    background: #1A2E45;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(201, 168, 76, 0.12);
    transition: border-color 0.2s, transform 0.2s;
}

.ddc-card:hover {
    border-color: rgba(201, 168, 76, 0.35);
    transform: translateY(-3px);
}

.ddc-card--light {
    background: #ffffff;
    border: 1px solid rgba(13, 27, 42, 0.1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.ddc-card--light:hover {
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.ddc-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.ddc-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.ddc-card--light h3 { color: #0D1B2A; }

.ddc-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #8A9BB0;
}

.ddc-card--light p { color: #4A5568; }

/* ---------- GALLERY GRID ---------- */
.ddc-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.ddc-gallery-item {
    aspect-ratio: 4/3;
    background: #1A2E45;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(201,168,76,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A9BB0;
    font-size: 0.85rem;
    font-style: italic;
}

.ddc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.ddc-gallery-item:hover img { transform: scale(1.04); }

.ddc-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .6rem .85rem;
    background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 100%);
    color: #ffffff;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .03em;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}

.ddc-gallery-item:hover .ddc-gallery-caption { opacity: 1; }

/* ---------- CONTACT FORM ---------- */
.ddc-form { margin-top: 2.5rem; }

.ddc-form-group {
    margin-bottom: 1.25rem;
}

.ddc-form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8A9BB0;
    margin-bottom: 0.4rem;
}

.ddc-form-group input,
.ddc-form-group select,
.ddc-form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #1A2E45;
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.ddc-form-group input:focus,
.ddc-form-group select:focus,
.ddc-form-group textarea:focus {
    border-color: #C9A84C;
}

.ddc-form-group select option { background: #1A2E45; }
.ddc-form-group textarea { resize: vertical; min-height: 130px; }

.ddc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.ddc-page-hero {
    background: linear-gradient(135deg, #0D1B2A 0%, #1A2E45 100%);
    padding: 5rem 2rem 4rem;
    text-align: center;
}

.ddc-page-hero h1 { color: #ffffff; margin-bottom: 0.75rem; }
.ddc-page-hero p { color: #8A9BB0; font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

.ddc-page-hero--tech {
    background: linear-gradient(135deg, #0A2235 0%, #0D3354 100%);
}

.ddc-page-hero--rentals {
    background: linear-gradient(135deg, #1A1208 0%, #2D2010 60%, #1A2E45 100%);
}

/* ---------- PRICING ADD-ON CARDS ---------- */
.ddc-pricing-addon-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #1A2E45;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    transition: border-color 0.2s;
}

.ddc-pricing-addon-card:hover {
    border-color: rgba(201,168,76,0.4);
}

.ddc-pricing-addon-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.ddc-pricing-addon-info {
    flex: 1;
}

.ddc-pricing-addon-info h4 {
    color: #ffffff;
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: .2rem;
}

.ddc-pricing-addon-info p {
    color: #8A9BB0;
    font-size: .8rem;
    line-height: 1.5;
    margin: 0;
}

.ddc-pricing-addon-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #C9A84C;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ---------- PRICING PLACEHOLDER ---------- */
.ddc-pricing-notice {
    background: #1A2E45;
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 560px;
    margin: 3rem auto 0;
}

.ddc-pricing-notice .icon { font-size: 3rem; margin-bottom: 1rem; }
.ddc-pricing-notice h3 { color: #ffffff; margin-bottom: 0.75rem; }
.ddc-pricing-notice p { color: #8A9BB0; line-height: 1.7; margin-bottom: 1.5rem; }

/* ---------- ABOUT TEAM CARDS ---------- */
.ddc-team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.ddc-team-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.15);
}

.ddc-team-card-header {
    padding: 2.5rem 2rem;
    position: relative;
}

.ddc-team-card--rentals .ddc-team-card-header {
    background: linear-gradient(135deg, #2D1F0A, #1A2E45);
}

.ddc-team-card--tech .ddc-team-card-header {
    background: linear-gradient(135deg, #0A1F2D, #0D3354);
}

.ddc-team-card-header .role-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.ddc-team-card--rentals .role-badge {
    background: rgba(201,168,76,0.15);
    color: #C9A84C;
    border: 1px solid rgba(201,168,76,0.3);
}

.ddc-team-card--tech .role-badge {
    background: rgba(74,158,191,0.15);
    color: #4A9EBF;
    border: 1px solid rgba(74,158,191,0.3);
}

.ddc-team-card-header h3 { color: #ffffff; font-size: 1.4rem; margin-bottom: 0.35rem; }
.ddc-team-card-header .title { color: #8A9BB0; font-size: 0.85rem; }

.ddc-team-card-body {
    background: #1A2E45;
    padding: 1.75rem 2rem;
}

.ddc-team-card-body p {
    color: #8A9BB0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- FOOTER ---------- */
.ddc-footer {
    background: #060E17;
    border-top: 1px solid rgba(201,168,76,0.15);
    padding: 3.5rem 2rem 2rem;
    color: #8A9BB0;
}

.ddc-footer-inner { max-width: 1100px; margin: 0 auto; }

.ddc-footer .ddc-brand-text { color: #ffffff; }

.ddc-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ddc-footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C9A84C;
    margin-bottom: 1rem;
}

.ddc-footer-col ul { list-style: none; padding: 0; }
.ddc-footer-col ul li { margin-bottom: 0.5rem; }
.ddc-footer-col ul li a { font-size: 0.875rem; color: #8A9BB0; transition: color 0.15s; }
.ddc-footer-col ul li a:hover { color: #C9A84C; }

.ddc-footer-bottom { text-align: center; }
.ddc-footer-bottom p { font-size: 0.8rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .ddc-hero { flex-direction: column; }
    .ddc-hero-half { flex: none; width: 100%; padding: 4rem 2rem; align-items: flex-start; text-align: left; }
    .ddc-hero-half .d-flex { justify-content: flex-start; }
    .ddc-hero-divider { display: none; }
    .ddc-split { grid-template-columns: 1fr; gap: 2rem; }
    .ddc-split--reverse { direction: ltr; }
    .ddc-team { grid-template-columns: 1fr; }
    .ddc-footer-cols { grid-template-columns: 1fr 1fr; }
    .ddc-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .ddc-nav-toggle { display: flex; }

    .ddc-nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #0D1B2A;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-bottom: 1px solid rgba(201,168,76,0.2);
        gap: 0;
    }

    .ddc-nav-links.open { display: flex; }

    .ddc-nav-links > li > a {
        padding: 0.75rem 1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .ddc-dropdown-menu {
        position: static;
        display: none !important;
        background: rgba(255,255,255,0.04);
        border-radius: 0;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }

    .ddc-dropdown.open .ddc-dropdown-menu { display: block !important; }

    .ddc-footer-cols { grid-template-columns: 1fr; }

    .ddc-page-hero { padding: 4rem 1.5rem 3rem; }

    /* Pricing page fee columns stack on small screens */
    .ddc-pricing-fees { grid-template-columns: 1fr !important; }

    /* Tech pricing package + photo grids stack on small screens */
    .ddc-pricing-packages { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
