/* AV House Remodel - Exact Design Clone */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    background: #f8fafc;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: #1e3a5f;
    color: white;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: url('../../../logo.jpg') center/contain no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo h1 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    background: linear-gradient(135deg, #d4a574 0%, #c8935a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtext {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 2px;
    color: rgba(255,255,255,0.9);
}

.main-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    color: white;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    border-bottom-color: white;
}

.phone-link {
    background: #1d4ed8;
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(29,78,216,0.3);
}

.phone-link:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29,78,216,0.4);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 28px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-bullets {
    margin: 0 0 40px 0;
    padding-left: 20px;
}

.hero-bullets li {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    position: relative;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.hero-bullets li::before {
    content: "•";
    position: absolute;
    left: -20px;
    color: white;
    font-size: 24px;
}

.hero-phone {
    display: inline-block;
    background: #1d4ed8;
    color: white;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(29,78,216,0.5);
}

.hero-phone:hover {
    background: #1e40af;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(29,78,216,0.6);
}

.video-control-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-control-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.video-control-btn svg {
    width: 24px;
    height: 24px;
}

/* Trust Badges */
.trust-badges-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 0;
    margin-top: -40px;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.trust-badge:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 48px rgba(0,0,0,0.25);
    background: white;
}

.trust-badge-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    transition: all 0.4s ease;
}

.trust-badge:hover .trust-badge-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.trust-badge-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.trust-badge-content p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.badge h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Sections */
section {
    padding: 70px 0;
}

section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 40px;
}

.services-overview {
    background: white;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.service-card img {
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    padding: 16px 12px;
    margin: 0;
}

/* Recent Projects */
.recent-projects {
    background: #f8fafc;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.project-card img {
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 16px;
    text-align: center;
}

.project-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: white;
    padding: 70px 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.cta-box h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 28px;
}

.cta-phone-big {
    display: inline-block;
    background: #1d4ed8;
    color: white;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(29,78,216,0.3);
}

.cta-phone-big:hover {
    background: #1e40af;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(29,78,216,0.4);
}

/* Contact Form */
.contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.contact-form label {
    display: block;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    background: white;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
    transform: translateY(-1px);
}

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

.contact-form button {
    background: #1d4ed8;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(29,78,216,0.3);
}

.contact-form button:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29,78,216,0.4);
}

/* Button */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #1d4ed8;
    color: white;
    box-shadow: 0 4px 14px rgba(29,78,216,0.3);
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29,78,216,0.4);
}

/* Footer */
.site-footer {
    background: #1e3a5f;
    color: white;
    padding: 40px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-info p {
    margin: 4px 0;
    font-size: 14px;
    opacity: 0.9;
}

.footer-bottom {
    padding-top: 24px;
    font-size: 13px;
    opacity: 0.8;
}

/* Gallery */
.gallery-categories {
    background: #f8fafc;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.category-card img {
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #64748b;
}

.category-info {
    padding: 16px;
    text-align: center;
}

.category-info h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.category-info p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 12px 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(to bottom, #f1f5f9 0%, #ffffff 100%);
    padding: 40px 0;
    border-bottom: 1px solid #e2e8f0;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 16px;
    color: #64748b;
}

.page-header a {
    color: #1d4ed8;
    font-weight: 600;
}

/* Services Detail */
.services-detail {
    background: white;
}

.service-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.service-block:last-child {
    border-bottom: none;
}

.service-block h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.service-block ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-block li {
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    color: #475569;
}

.service-block li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1d4ed8;
    font-weight: bold;
}

/* About */
.about-content {
    background: white;
}

.about-text {
    max-width: 800px;
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
}

.about-text p {
    margin-bottom: 20px;
}

/* Contact */
.contact-content {
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info,
.contact-form-wrapper {
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 28px;
    margin-bottom: 12px;
}

.contact-info p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.contact-phone-big {
    display: inline-block;
    font-size: 32px;
    font-weight: 800;
    color: #1d4ed8;
    margin-bottom: 28px;
}

/* Project Photos */
.project-photos {
    background: #f8fafc;
}

.project-description {
    max-width: 800px;
    margin-bottom: 32px;
    font-size: 17px;
    color: #475569;
    line-height: 1.8;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.photo-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.photo-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.photo-item img {
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-item img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.photo-caption {
    padding: 12px;
    font-size: 14px;
    color: #64748b;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 4px;
    border-left: 4px solid;
}

.alert-success {
    background: #dbeafe;
    border-left-color: #1d4ed8;
    color: #1e3a8a;
}

.alert-error {
    background: #fee2e2;
    border-left-color: #dc2626;
    color: #991b1b;
}

/* Mobile Call Bar */
.mobile-call-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1d4ed8;
    color: white;
    padding: 16px;
    text-align: center;
    z-index: 90;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.mobile-call-button {
    font-weight: 700;
    font-size: 18px;
}

/* Utilities */
.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-phone {
        display: none;
    }

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-bullets li {
        font-size: 18px;
    }

    .hero-phone {
        font-size: 20px;
        padding: 16px 32px;
    }

    .video-control-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .trust-badges-wrapper {
        margin-top: 0;
        padding: 40px 20px;
    }

    .trust-badges {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trust-badge {
        padding: 30px 20px;
    }

    .trust-badge-icon {
        width: 70px;
        height: 70px;
    }

    .badge:last-child {
        border-bottom: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .mobile-call-bar {
        display: block;
    }

    .service-block ul {
        grid-template-columns: 1fr;
    }

    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1e3a5f;
        padding: 20px 24px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .main-nav.active a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .photos-grid {
        grid-template-columns: 1fr;
    }

    .hero-images {
        grid-template-columns: 1fr;
    }

    .hero-images .main-img {
        grid-column: 1;
        grid-row: auto;
        height: 280px;
    }
}

html {
    scroll-behavior: smooth;
}
