@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #0056b3;
    --primary-dark: #003d82;
    --secondary-color: #28a745;
    --accent-color: #17a2b8;
    --text-color: #2d3436;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --dark-blue: #012143;
    --gray: #636e72;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 45px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
    font-family: 'Poppins', sans-serif;
}

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

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

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-blue);
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 200px;
}

.logo img {
    height: auto;
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark-blue);
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.btn-call {
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 30px;
    border-radius: 50px;
    overflow: hidden;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow);
}

.cta-group .btn {
    border-radius: 0;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.cta-group .btn:first-child {
    border-right: 1px solid rgba(255,255,255,0.2);
}

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

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
}

.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

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

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

.service-info {
    padding: 25px;
}

.service-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.service-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 15px 0;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1001;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.float-whatsapp { background: #25d366; }
.float-call { background: var(--primary-color); }

.float-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.float-whatsapp {
    background: #25d366;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 33, 67, 0.4);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

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

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

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

.footer-col h4 {
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 10px;
}

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

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

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .logo { max-width: 150px; }
    .logo img { max-height: 45px; }
    .hero { height: auto; padding: 120px 0 80px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    
    .cta-group { 
        flex-direction: column; 
        max-width: 300px; 
        border-radius: 15px; 
    }
    .cta-group .btn { 
        width: 100%; 
        border-right: none !important; 
        border-bottom: 1px solid rgba(255,255,255,0.2); 
    }
    
    .menu-btn { display: block; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 0;
    }

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

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links li a {
        display: block;
        padding: 15px 0;
    }

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

    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .section-title h2 { font-size: 1.8rem; }
    .container { padding: 0 15px; }
}

/* Utility */
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
