/* Custom Properties */
:root {
    --primary: #0284c7; /* Professional Blue */
    --primary-light: #38bdf8;
    --primary-dark: #0369a1;
    --accent: #f97316; /* Vibrant Orange for CTAs */
    --accent-hover: #ea580c;
    --secondary: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #334155;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: var(--accent);
    border-radius: 3px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 20px auto 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: var(--bg-white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--bg-white);
    color: var(--bg-white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary-small {
    background-color: var(--primary);
    color: var(--bg-white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-primary-small:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

#header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

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

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 1rem;
}

.nav-menu a:hover:not(.btn-primary-small) {
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

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

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    animation: kenburns 25s ease-in-out infinite alternate;
    z-index: 0;
    transform-origin: center;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(3, 105, 161, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 50px;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 1px 2px 5px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Services */
.services {
    background: radial-gradient(circle at top right, rgba(0, 82, 204, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(255, 102, 0, 0.05), transparent);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.service-card {
    background: var(--bg-white);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    background: var(--bg-white);
}

.service-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -60px auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-12px);
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-card:hover .icon-wrapper {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-readmore {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    transition: var(--transition);
    margin-top: auto;
}

.btn-readmore:hover {
    color: var(--accent);
    gap: 12px;
}

/* Features & Testimonials (Parallax & Glassmorphism) */
.testimonials {
    position: relative;
    background-image: url('assets/coverage-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85); /* Deep blue/dark overlay */
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials .section-title h2, 
.testimonials .section-title p {
    color: var(--bg-white);
}

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

.feature {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature i {
    font-size: 3rem;
    color: var(--accent); /* Accent color stands out better */
    margin-bottom: 20px;
}

.feature h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--bg-white);
}

.feature p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    text-align: left;
    border-left: 4px solid var(--primary);
}

.testimonial-card p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.testimonial-card h5 {
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 105, 161, 0.9) 0%, rgba(3, 105, 161, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--bg-white);
    font-size: 1.5rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
}

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

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

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Coverage Area */
.coverage {
    position: relative;
    background-image: url('assets/coverage-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.coverage-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
}

.coverage-content {
    max-width: 700px;
    margin: 0 auto;
}

.coverage-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.coverage-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cbd5e1;
}

.coverage-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.coverage-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    transition: var(--transition);
}

.coverage-list li:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.coverage-list i {
    color: #ef4444;
    margin-right: 8px;
}

.coverage-list li:hover i {
    color: var(--bg-white);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-info {
    padding: 50px;
    background: var(--bg-dark);
    color: var(--bg-white);
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--bg-white);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-light);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
    color: #cbd5e1;
    font-weight: 500;
}

.info-item p, .info-item a {
    color: var(--bg-white);
    font-size: 1.1rem;
}

.info-item a:hover {
    color: var(--primary-light);
}

.contact-form {
    padding: 50px;
    background: var(--bg-white);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--secondary);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-light);
    color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.1);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 80px 0 20px;
}

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

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg-white);
    display: block;
    margin-bottom: 20px;
}

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

.footer-logo p {
    color: #94a3b8;
    max-width: 400px;
    font-size: 1.1rem;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--bg-white);
    font-weight: 600;
}

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

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}

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

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

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--bg-white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.95rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.relative {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 40px;
    }

    .contact-form {
        padding: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 74px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 74px);
        background-color: var(--bg-white);
        transition: 0.4s ease-in-out;
        box-shadow: var(--shadow-md);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 30px;
    }

    .nav-menu a {
        font-size: 1.25rem;
        color: var(--text-main);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Painting Specialties */
.painting-specialties {
    margin-top: 60px;
    background: var(--bg-light);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--secondary);
}

.specialties-header {
    text-align: center;
    margin-bottom: 30px;
}

.specialties-header h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.specialties-header h3 i {
    color: var(--accent);
    margin-right: 10px;
}

.specialties-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tag {
    background: var(--bg-white);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--secondary);
}

.tag i {
    color: var(--primary);
}

.tag:hover {
    background: var(--primary);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.tag:hover i {
    color: var(--bg-white);
}

/* Floating Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: var(--primary-dark);
    color: white;
}
