/* APEX Construction Enterprise - Luxury Professional Design */
/* Sophisticated Gray/Black Theme */

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

:root {
    /* Sophisticated Color Palette */
    --primary-black: #1a1a1a;
    --secondary-black: #2d2d2d;
    --dark-gray: #3a3a3a;
    --medium-gray: #666666;
    --light-gray: #e5e5e5;
    --accent-gold: #c9a55a;
    --white: #ffffff;
    --off-white: #f8f8f8;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark-gray);
    background: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-black);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* ============================================
   NAVIGATION - Sophisticated & Clean
   ============================================ */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary-black);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text .tagline {
    font-size: 0.8rem;
    color: var(--medium-gray);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--primary-black);
}

.nav-links .cta-btn {
    background: var(--primary-black);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-links .cta-btn::after {
    display: none;
}

.nav-links .cta-btn:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-black);
}

/* ============================================
   HERO SECTION - Premium & Impactful
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(45, 45, 45, 0.75));
    z-index: 1;
}

/* Subtle Background Pattern */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.03) 35px,
            rgba(255, 255, 255, 0.03) 70px
        );
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 3rem 2rem;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-gray);
    margin-bottom: 1rem;
    font-weight: 400;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS - Premium Design
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-black);
    box-shadow: 0 6px 25px rgba(201, 165, 90, 0.4);
}

.btn-primary:hover {
    background: #d4b06a;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(201, 165, 90, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--primary-black);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-black);
}

/* ============================================
   CLICK TO CALL - Floating Button
   ============================================ */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: var(--accent-gold);
    color: var(--primary-black);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 30px rgba(201, 165, 90, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(201, 165, 90, 0.7);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(201, 165, 90, 0.5);
    }
    50% {
        box-shadow: 0 8px 40px rgba(201, 165, 90, 0.8);
    }
}

/* ============================================
   SECTIONS - Clean & Spacious
   ============================================ */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-black);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--medium-gray);
    margin-bottom: 4rem;
    font-weight: 400;
}

/* ============================================
   SERVICE CARDS - Luxury Design
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-black));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--primary-black);
    gap: 1rem;
}

/* ============================================
   BEFORE/AFTER SLIDER
   ============================================ */
.before-after-section {
    background: var(--primary-black);
    color: var(--white);
    padding: var(--spacing-xl) 0;
}

.before-after-section .section-title {
    color: var(--white);
}

.before-after-section .section-subtitle {
    color: var(--light-gray);
}

.slider-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.slider-slide {
    display: none;
    position: relative;
}

.slider-slide.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.slide-image {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.slide-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(201, 165, 90, 0.95);
    color: var(--primary-black);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    background: var(--accent-gold);
    color: var(--primary-black);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #d4b06a;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-gold);
    width: 30px;
    border-radius: 10px;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.feature p {
    color: var(--medium-gray);
}

/* ============================================
   CTA SECTION - Bold & Clear
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-black), var(--secondary-black));
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-section h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--light-gray);
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER - Clean & Professional
   ============================================ */
.footer {
    background: var(--primary-black);
    color: var(--light-gray);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-section p {
    color: var(--light-gray);
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-gray);
    color: var(--medium-gray);
}

/* ============================================
   CITIES GRID
   ============================================ */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.cities-grid span {
    background: var(--off-white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cities-grid span:hover {
    background: var(--white);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   FORMS - Professional Design
   ============================================ */
.contact-form, .booking-form, .service-form {
    max-width: 700px;
    margin: 3rem auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 165, 90, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: var(--primary-black);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .slider-slide.active {
        grid-template-columns: 1fr;
    }
    
    .slide-image {
        height: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .floating-call-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .contact-form, .booking-form, .service-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .logo-img {
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo-text .tagline {
        font-size: 0.7rem;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
