/* ===== City Dray Tech — Double Floors Website ===== */
/* Variables */
:root {
    --orange: #EF8B00;
    --orange-dark: #D67A00;
    --blue: #0666F6;
    --blue-dark: #0555CC;
    --dark: #2B2B2B;
    --gray: #444;
    --gray-light: #888;
    --gray-bg: #F5F5F5;
    --white: #FFFFFF;
    --overlay: rgba(30, 30, 30, 0.78);
    --header-h: 80px;
    --max-w: 1340px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 4px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 30px; }

/* Display font */
h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; font-weight: 600; line-height: 1.15; }

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--orange);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.section-header h2 { font-size: 2.4rem; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
.section-header p { color: var(--gray-light); font-size: 1rem; }

/* ===== Header ===== */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: var(--white);
    z-index: 1000;
    transition: box-shadow var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
#header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--dark);
    line-height: 1;
}
.logo-tagline {
    font-size: 11px;
    color: var(--orange);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 3px;
}

#main-nav {
    display: flex;
    gap: 35px;
}
#main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.02em;
    transition: color var(--transition);
    position: relative;
}
#main-nav a:hover, #main-nav a.active { color: var(--orange); }
#main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0; right: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

#menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
#menu-toggle span {
    width: 26px; height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    margin-top: var(--header-h);
}

.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,30,30,0.6) 0%, rgba(30,30,30,0.3) 50%, transparent 100%);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text-box {
    background: var(--overlay);
    padding: 50px 55px;
    max-width: 720px;
    position: relative;
    animation: heroSlideIn 1s ease-out;
}

@keyframes heroSlideIn {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-accent-bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 8px;
    background: var(--orange);
}

.hero-text-box h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}
.hero-text-box p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===== CTA Strip ===== */
#cta-strip {
    background: var(--white);
    padding: 25px 0;
    border-bottom: 1px solid #EEE;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.cta-button-blue {
    background: var(--blue);
    color: var(--white);
    padding: 22px 50px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    transition: background var(--transition), transform var(--transition);
    display: inline-block;
}
.cta-button-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

.cta-phone {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cta-label {
    font-size: 13px;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.25em;
}
.cta-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
    transition: color var(--transition);
}
.cta-number:hover { color: var(--orange-dark); }

/* ===== About ===== */
#about { padding: 90px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h2 {
    font-size: 2.6rem;
    margin: 10px 0 20px;
    color: var(--dark);
}
.about-text p { color: var(--gray); margin-bottom: 25px; }
.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--gray);
}
.check-icon {
    color: var(--orange);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stat-card {
    background: var(--gray-bg);
    padding: 35px 25px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 4px solid var(--orange);
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-card:nth-child(3) { grid-column: 1 / -1; }
.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark);
    display: inline;
}
.stat-plus { font-size: 2.5rem; color: var(--orange); font-family: 'Oswald', sans-serif; font-weight: 700; }
.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== Services ===== */
#services {
    padding: 90px 0;
    background: var(--gray-bg);
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.service-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.service-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.service-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-image img { transform: scale(1.05); }

.service-badge {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--orange);
    color: var(--white);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.service-outdoor .service-badge { background: var(--blue); }

.service-body { padding: 35px; }
.service-body h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 12px;
}
.service-desc { color: var(--gray); margin-bottom: 25px; }

.service-components { margin-bottom: 25px; }
.service-components h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-light);
    margin-bottom: 12px;
}
.service-components ul li {
    padding: 6px 0;
    border-bottom: 1px dashed #EEE;
    color: var(--gray);
}
.service-components ul li strong { color: var(--dark); }

.service-plates { margin-bottom: 25px; }
.service-plates h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-light);
    margin-bottom: 12px;
}
.plate-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plate-type {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray);
    padding: 8px 12px;
    background: var(--gray-bg);
    border-radius: 4px;
}
.plate-icon { color: var(--orange); font-size: 1.2rem; }

.outdoor-desc {
    font-size: 0.95rem;
    color: var(--gray);
    padding: 12px 15px;
    background: var(--gray-bg);
    border-left: 4px solid var(--blue);
    border-radius: 0 4px 4px 0;
}

.service-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--gray-bg);
}
.option-pill {
    padding: 8px 16px;
    background: var(--gray-bg);
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition);
}
.option-pill:hover { background: var(--orange); color: var(--white); }

/* ===== Gallery ===== */
#gallery { padding: 90px 0; }

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.gallery-filter {
    padding: 10px 24px;
    background: var(--gray-bg);
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition);
}
.gallery-filter:hover { background: #E0E0E0; }
.gallery-filter.active { background: var(--orange); color: var(--white); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-item.hidden { display: none; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,30,30,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-cat {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--orange);
    margin-bottom: 4px;
}
.gallery-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

/* ===== FAQ ===== */
#faq {
    padding: 90px 0;
    background: var(--gray-bg);
}
.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-md); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--orange); }
.faq-icon {
    font-size: 1.8rem;
    color: var(--orange);
    transition: transform var(--transition);
    line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer > div, .faq-answer > p, .faq-answer > ul, .faq-answer > li { padding: 0 28px; }
.faq-answer p { padding-bottom: 8px; color: var(--gray); }
.faq-answer ul { padding-bottom: 8px; padding-left: 50px; }
.faq-answer li { padding: 4px 0; color: var(--gray); list-style: disc; }
.faq-item.open .faq-answer { padding-bottom: 25px; }

/* ===== Contact ===== */
#contact { padding: 90px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 {
    font-size: 2.4rem;
    margin: 10px 0 15px;
}
.contact-info > p { color: var(--gray); margin-bottom: 35px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
}
.contact-icon {
    width: 50px; height: 50px;
    background: var(--gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--transition);
}
.contact-item:hover .contact-icon { background: var(--orange); color: var(--white); }
.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}
.contact-item a, .contact-item span:not(.contact-label) {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    transition: color var(--transition);
}
.contact-item a:hover { color: var(--orange); }

.contact-form-wrapper {
    background: var(--gray-bg);
    padding: 40px;
    border-top: 4px solid var(--orange);
}
.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-light);
    margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #DDD;
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    transition: border-color var(--transition);
    border-radius: 2px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}
.form-group textarea { resize: vertical; }

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--orange);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: var(--transition);
    border-radius: 2px;
}
.form-submit:hover { background: var(--orange-dark); }

.form-success {
    margin-top: 15px;
    padding: 14px;
    background: #D4EDDA;
    color: #155724;
    text-align: center;
    font-weight: 500;
    border-radius: 2px;
    display: none;
}
.form-success.show { display: block; }

/* ===== Footer ===== */
#footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding-top: 60px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 15px; }
.footer-logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 300px; margin-top: 5px; }

.footer-col h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--orange);
    margin-bottom: 18px;
}
.footer-col a, .footer-col span {
    display: block;
    padding: 5px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
    z-index: 10000;
}
.lightbox-close { top: 25px; right: 35px; }
.lightbox-prev { left: 30px; top: 50%; transform: translateY(-50%); font-size: 3.5rem; }
.lightbox-next { right: 30px; top: 50%; transform: translateY(-50%); font-size: 3.5rem; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { color: var(--orange); }
.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 0; right: 0;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* ===== Floating Contact ===== */
.float-contact {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background: #F0503C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(240,80,60,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: floatPulse 2s ease-in-out infinite;
}
.float-contact:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(240,80,60,0.6); }

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(240,80,60,0.4); }
    50% { box-shadow: 0 4px 20px rgba(240,80,60,0.4), 0 0 0 12px rgba(240,80,60,0); }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .hero-text-box h1 { font-size: 2.8rem; }
    .hero-text-box { padding: 40px 40px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { max-width: 500px; }
}

@media (max-width: 900px) {
    #main-nav { display: none; }
    #main-nav.open {
        display: flex;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 30px;
        box-shadow: var(--shadow-md);
        gap: 0;
    }
    #main-nav.open a {
        padding: 14px 0;
        border-bottom: 1px solid #EEE;
    }
    #main-nav.open a.active::after { display: none; }
    #menu-toggle { display: flex; }
    
    #hero { min-height: 500px; }
    .hero-text-box { padding: 30px 25px; max-width: 90%; }
    .hero-text-box h1 { font-size: 2rem; }
    .hero-text-box p { font-size: 0.95rem; }
    
    .cta-inner { flex-direction: column; gap: 15px; text-align: center; }
    .cta-button-blue { padding: 16px 35px; font-size: 13px; }
    .cta-number { font-size: 1.5rem; }
    
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .footer-inner { grid-template-columns: 1fr 1fr; }
    
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    
    .section-header h2 { font-size: 1.8rem; }
    .about-text h2 { font-size: 2rem; }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }
    .hero-text-box h1 { font-size: 1.6rem; }
    .hero-text-box p { font-size: 0.9rem; }
    
    .about-stats { grid-template-columns: 1fr; }
    .stat-card:nth-child(3) { grid-column: auto; }
    
    .plate-types { grid-template-columns: 1fr; }
    
    .footer-inner { grid-template-columns: 1fr; }
    
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    
    .service-body { padding: 25px; }
    .contact-form-wrapper { padding: 25px; }
    
    .lightbox-prev, .lightbox-next { font-size: 2.5rem; }
    .lightbox-close { font-size: 2.5rem; top: 15px; right: 20px; }
}