/* ===================================
   Building & Plastering Template Styles
   Solid, Professional & Trustworthy Design
   =================================== */

:root {
    /* Default colors - can be overridden by builder system */
    --primary-color: var(--builder-color-1, #8B4513);
    --secondary-color: var(--builder-color-2, #2C3E50);
    --accent-color: var(--builder-color-3, #D4A574);
    --dark-color: var(--builder-color-6, #1A1A1A);
    --light-color: #ffffff;
    --text-color: #4A4A4A;
    --border-color: #D3D3D3;
    
    /* Derived gradients from builder colors */
    --gradient-1: linear-gradient(135deg, var(--builder-color-1, #8B4513) 0%, var(--builder-color-3, #D4A574) 100%);
    --gradient-2: linear-gradient(135deg, var(--builder-color-2, #2C3E50) 0%, #34495E 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(44, 62, 80, 0.75) 100%);
    
    --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.18);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.25);
}

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

body {
    font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Arial Black', sans-serif;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1 { font-size: 4rem; }
h2 { font-size: 3.2rem; }
h3 { font-size: 2.4rem; }
h4 { font-size: 1.9rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Container */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Oswald', sans-serif;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--light-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.4s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 4px solid var(--primary-color);
}

.header-top {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 14px 0;
    font-size: 0.85rem;
}

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

.header-top-left,
.header-top-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-top a {
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top a:hover {
    color: var(--accent-color);
}

.header-main {
    padding: 24px 0;
    background: var(--light-color);
}

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

.logo,
.logo-link {
    font-size: 2.4rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo i {
    color: var(--primary-color);
    font-size: 2.8rem;
}

.logo span span {
    color: var(--primary-color);
}

/* Logo image styles */
.logo-main {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-link {
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    position: relative;
    padding: 8px 0;
    font-family: 'Oswald', sans-serif;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Hero Section */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1A1A1A 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 69, 19, 0.05) 2px, rgba(139, 69, 19, 0.05) 4px),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 69, 19, 0.05) 2px, rgba(139, 69, 19, 0.05) 4px);
    opacity: 0.4;
}

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

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--light-color);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(139, 69, 19, 0.25);
    border: 3px solid var(--primary-color);
    padding: 12px 28px;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 100%, 15px 100%);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--light-color);
}

.hero-content h1 .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.4;
    z-index: -1;
    transform: skewX(-5deg);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 3px solid rgba(255, 255, 255, 0.2);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--primary-color);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 20px 100%);
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 70px;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.service-card {
    background: var(--light-color);
    padding: 45px 35px;
    border-radius: 0;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid var(--border-color);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: var(--gradient-1);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--light-color);
    transition: all 0.3s ease;
    transform: rotate(0deg);
    clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.about-image {
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--primary-color);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 20px 100%);
}

.about-image:first-child {
    margin-top: 50px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--light-color);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.6rem;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.feature-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

/* Why Choose Us Section */
.why-choose-section {
    background: var(--gradient-2);
    color: var(--light-color);
    position: relative;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-1);
}

.why-choose-section .section-title,
.why-choose-section .section-subtitle {
    color: var(--light-color);
}

.why-choose-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 45px 35px;
    border-radius: 0;
    border: 3px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--light-color);
    position: relative;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 100%;
}

@media (min-width: 1400px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    border: 4px solid transparent;
    transition: border-color 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.gallery-item:hover {
    border-color: var(--primary-color);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--light-color);
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Team Section */
.team-section {
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-photo {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--primary-color);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 20px 100%);
}

.team-photo img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.team-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: var(--light-color);
    padding: 12px 24px;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.team-member h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.team-member .role {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.team-member .experience {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--dark-color);
    color: var(--light-color);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-1);
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: var(--light-color);
}

.testimonials-section .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 0;
    border: 3px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 3px solid rgba(255, 255, 255, 0.15);
}

.author-info h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--light-color);
    font-weight: 600;
}

.author-info p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-1);
}

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

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light-color);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 1.6rem;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}

.contact-details h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-details p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.8;
}

.contact-form {
    background: var(--light-color);
    padding: 50px;
    border-radius: 0;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--border-color);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 3px solid var(--border-color);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-about h3 i {
    color: var(--primary-color);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section h4 {
    color: var(--light-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 3px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Video Feature Section */
.video-feature {
    padding: 90px 0;
    background: #F5F5F5;
    position: relative;
}

.video-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-1);
}

.video-feature .section-header {
    margin-bottom: 36px;
    text-align: center;
}

.video-feature .section-header p {
    max-width: 720px;
    margin: 0 auto;
}

.video-feature-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-feature-media {
    width: min(920px, 100%);
}

.video-thumbnail {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.video-thumbnail-visual {
    width: 100%;
    padding-top: 56.25%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.4)), url('../images/hero-building.jpg');
    background-size: cover;
    background-position: center;
}

.video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: #ffffff;
    background: rgba(26, 26, 26, 0.35);
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-thumbnail:hover .video-play-icon {
    background: rgba(26, 26, 26, 0.55);
    transform: scale(1.02);
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2500;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.8);
}

.video-modal-content {
    position: relative;
    z-index: 1;
    width: min(960px, 92vw);
    background: #0b0f14;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.video-modal-body {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000000;
}

.video-modal-body iframe,
.video-modal-body video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 0;
    border: none;
    background: rgba(26, 26, 26, 0.8);
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

/* Popup Contact Modal */
.popup-contact-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.popup-contact-modal.active {
    display: flex;
}

.popup-contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.7);
}

.popup-contact-content {
    position: relative;
    z-index: 1;
    width: min(760px, 92vw);
    max-height: 90vh;
    overflow: auto;
    background: #ffffff;
    border-radius: 0;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.popup-contact-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.popup-contact-header {
    margin-bottom: 20px;
}

.popup-contact-header h3 {
    margin-bottom: 8px;
}

.popup-contact-note {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-color);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .video-feature-inner {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light-color);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: var(--shadow-md);
        border-top: 3px solid var(--primary-color);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .header-main .container {
        position: relative;
    }
    
    .header-top-left,
    .header-top-right {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid,
    .features-grid,
    .gallery-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--light-color);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Map Overlay */
.map-wrapper {
    position: relative;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.35);
    pointer-events: none;
    z-index: 800;
}

#building-plaster-map {
    position: relative;
    z-index: 1;
}

.map-overlay-controls {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 20px rgba(26, 26, 26, 0.15);
    font-size: 0.85rem;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.map-overlay-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #2d3748;
}

.map-overlay-controls input[type="range"] {
    width: 120px;
}

.map-overlay-controls input[type="color"] {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    padding: 0;
}

.map-overlay-settings {
    display: none;
}

.editor-only {
    display: none;
}
