/* ============================================
   MAVIS ECO COOL - Static Website CSS
   ============================================ */

/* Root Variables */
:root {
    --primary-color: #0066cc;
    --secondary-color: #003d99;
    --accent-color: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --background-light: #f5f5f5;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
}

.header-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 5px;
}

.company-info {
    display: none;
}

@media (min-width: 640px) {
    .company-info {
        display: block;
    }
}

.company-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.company-tagline {
    font-size: 12px;
    color: var(--text-light);
}

/* Navigation Menu */
.nav-menu {
    display: none;
    gap: 8px;
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: var(--background-light);
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons {
    display: none;
    gap: 8px;
}

@media (min-width: 768px) {
    .social-icons {
        display: flex;
    }
}

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

.social-circle{
width:40px;
height:40px;
border-radius:50%;
border:2px solid #dcdcdc;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
color:#2d6cdf;
font-size:18px;
transition:0.3s;
}

.social-circle:hover{
background:#2d6cdf;
color:white;
border-color:#2d6cdf;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

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

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

.btn-secondary {
    background-color: var(--background-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
    display: none;
}

@media (min-width: 768px) {
    .btn-whatsapp {
        display: inline-block;
    }
}

.btn-whatsapp:hover {
    background-color: #1fa855;
}

.btn-call {
    background-color: var(--primary-color);
    color: var(--white);
    display: none;
}

@media (min-width: 768px) {
    .btn-call {
        display: inline-block;
    }
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    bottom: 25px;
}

/* ============================================
   LOGO HERO SECTION
   ============================================ */

.logo-hero {
    background: linear-gradient(135deg, #e8f0ff 0%, #f0f8ff 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.logo-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 30px;
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 10;
}

/* Logo Glow Animation */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.3),
                    0 0 60px rgba(212, 175, 55, 0.2);
    }
    50% {
        box-shadow: 0 0 50px rgba(212, 175, 55, 0.5),
                    0 0 80px rgba(212, 175, 55, 0.3);
    }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    animation: glow-pulse 4.5s ease-in-out infinite;
    z-index: 1;
}

/* Pulse Rings */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid;
    border-radius: 50%;
    animation: pulse-ring 3s ease-out infinite;
    z-index: 2;
}

.pulse-ring-1 {
    width: 360px;
    height: 360px;
    border-color: rgba(212, 175, 55, 0.6);
    animation-delay: 0s;
}

.pulse-ring-2 {
    width: 360px;
    height: 360px;
    border-color: rgba(100, 150, 255, 0.5);
    animation-delay: 0.8s;
}

/* Sparkles */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(var(--tx), var(--ty)) scale(1);
    }
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(212, 175, 55, 0.8);
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
    z-index: 5;
}

.sparkle-1 { top: 20%; left: 50%; --tx: 0; --ty: -40px; animation-delay: 0s; }
.sparkle-2 { top: 30%; right: 15%; --tx: 40px; --ty: -30px; animation-delay: 0.4s; }
.sparkle-3 { top: 50%; right: 10%; --tx: 50px; --ty: 0; animation-delay: 0.8s; }
.sparkle-4 { bottom: 30%; right: 15%; --tx: 40px; --ty: 30px; animation-delay: 1.2s; }
.sparkle-5 { bottom: 20%; left: 50%; --tx: 0; --ty: 40px; animation-delay: 1.6s; }
.sparkle-6 { bottom: 30%; left: 15%; --tx: -40px; --ty: 30px; animation-delay: 2s; }
.sparkle-7 { top: 50%; left: 10%; --tx: -50px; --ty: 0; animation-delay: 2.4s; }
.sparkle-8 { top: 30%; left: 15%; --tx: -40px; --ty: -30px; animation-delay: 2.8s; }

.hero-title {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .logo-container {
        width: 400px;
        height: 400px;
    }
    
    .logo-glow {
        width: 420px;
        height: 420px;
    }
    
    .hero-title {
        font-size: 40px;
    }
}

/* ============================================
   MAIN SECTIONS
   ============================================ */

main {
    min-height: calc(100vh - 200px);
}

section {
    padding: 60px 20px;
}

@media (min-width: 768px) {
    section {
        padding: 80px 20px;
    }
}

h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.page-hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* Services Preview */
.services-preview {
    background-color: var(--background-light);
}

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

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 15px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-link:hover {
    transform: translateX(4px);
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--white);
}

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

.feature {
    text-align: center;
}

.feature h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature p {
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0066cc 0%, #003d99 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.company-section,
.vision-mission,
.values-section,
.certifications-section {
    padding: 60px 20px;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-content p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.vm-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.vm-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.value-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.value-item h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.cert-item img {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.services-details {
    background-color: var(--white);
}

.service-detail-item {
    max-width: 800px;
    margin: 0 auto 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

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

.service-detail-item h2 {
    font-size: 28px;
    text-align: left;
    margin-bottom: 15px;
}

.service-detail-item > p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

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

.package-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.package-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
}

.package-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.price {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.package-card ul {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.package-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
}

.package-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ============================================
   SOLUTIONS PAGE
   ============================================ */

.solutions-section {
    background-color: var(--white);
}

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

.solution-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.solution-card ul {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.solution-card li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.solution-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

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

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

.benefit {
    text-align: center;
}

.benefit h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ============================================
   GALLERY PAGE
   ============================================ */

.gallery-section {
    background-color: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   CLIENTS PAGE
   ============================================ */

.clients-section,
.testimonials-section,
.stats-section {
    background-color: var(--white);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.client-card {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.client-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.client-type {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

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

.testimonial {
    background-color: var(--background-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.rating {
    font-size: 16px;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

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

.stat h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat p {
    font-size: 16px;
    font-weight: 600;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
    background-color: var(--white);
}

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

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.info-item p {
    font-size: 14px;
    margin: 0;
}

.info-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-form-wrapper h2 {
    text-align: left;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-message {
    padding: 12px;
    border-radius: 4px;
    margin-top: 10px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 50px 20px 20px;
    margin-top: 60px;
}

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

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s ease;
}

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

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

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .header-logo {
        width: 80px;
        height: 80px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-logo {
        width: 60px;
        height: 60px;
    }
    
    .company-name {
        font-size: 14px;
    }
    
    .company-tagline {
        font-size: 10px;
    }
    
    h2 {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    section {
        padding: 40px 15px;
    }
    
    .services-grid,
    .features-grid,
    .values-grid,
    .solutions-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
