/* ------------------------------
   GLOBAL STYLES
--------------------------------*/

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

:root {
    --primary-red: #e53935;
    --dark-navy: #111827;
    --light-grey: #f3f4f6;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-grey);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ------------------------------
   NAVIGATION (WITH LARGER LOGO)
--------------------------------*/

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--dark-navy);
    color: var(--white);
    padding: 5px 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    overflow-x: hidden;
}

.nav-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
}

/* Larger logo */
.logo-svg {
    height: 120px;
    width: auto;
    display: block;
}

/* NAV LINKS */

nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--primary-red);
}

/* ------------------------------
   HERO SECTION
--------------------------------*/

.hero {
    height: 85vh;
    background: url('images/gallery/hero-image.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.btn-primary {
    background: #d60000;
    color: #fff;
    margin-top: 10px; /* optional: adds extra space above button */
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700; /* stronger weight */
    font-size: 1rem;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-shadow: 0 1px 1px rgba(0,0,0,0.25); /* subtle text sharpening */
    transition: 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* ------------------------------
   SECTIONS
--------------------------------*/

section {
    width: 90%;
    max-width: 1300px;
    margin: 80px auto;
}

.page-without-hero {
    margin-top: 200px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

/* ------------------------------
   PREMIUM CARD GRID
--------------------------------*/

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

.service-box,
.why-item,
.process-step {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: center;
}

.service-box:hover,
.why-item:hover,
.process-step:hover {
    transform: translateY(-6px);
}


/* ----------------------------------------------
Match WHY CHOOSE US cards to service-box styling 
-------------------------------------------------*/
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: center;
}

.why-item:hover {
    transform: translateY(-6px);
}

/* Match PROCESS cards to service-box styling */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.process-step {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
    text-align: center;
}

.process-step:hover {
    transform: translateY(-6px);
}

/* Step number styling stays the same */
.step-number {
    display: inline-block;
    background: var(--primary-red);
    color: #fff;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 50%;
    font-size: 20px;
    margin-bottom: 12px;
}


/* ------------------------------
   STEP NUMBER
--------------------------------*/

.step-number {
    display: inline-block;
    background: var(--primary-red);
    color: #fff;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 50%;
    font-size: 20px;
    margin-bottom: 12px;
}

/* ------------------------------
   FOOTER
--------------------------------*/

footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
    font-size: 0.75rem;   /* smaller footer text */
}

/* ------------------------------
   ANIMATIONS
--------------------------------*/

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------
   RESPONSIVE
--------------------------------*/

@media (max-width: 768px) {
    nav ul {
        gap: 16px;
    }

    .logo-svg {
        height: 70px;
    }

    nav {
        padding: 14px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

/* ------------------------------
   WHATSAPP FLOATING BUTTON
--------------------------------*/

.whatsapp-float {
    display: none;
}

@media (max-width: 768px) {
    .whatsapp-float {
        display: flex;
        position: fixed;
        width: 65px;
        height: 65px;
        bottom: 25px;
        right: 25px;
        background-color: #25D366;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        z-index: 9999;
        animation: slideIn 0.6s ease-out, pulse 2.5s infinite;
        text-decoration: none;
    }

    .whatsapp-float img {
        width: 38px;
        height: 38px;
    }

    .whatsapp-label {
        position: absolute;
        bottom: 80px;
        right: 0;
        background: #25D366;
        color: white;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 14px;
        opacity: 0;
        transform: translateY(10px);
        transition: 0.3s ease;
        white-space: nowrap;
    }

    .whatsapp-float:hover .whatsapp-label {
        opacity: 1;
        transform: translateY(0);
    }

    .whatsapp-float:hover {
        background-color: #1ebe5d;
        transform: scale(1.1);
    }

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

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

/* ------------------------------
   GALLERY GRID + IMAGE STYLING
--------------------------------*/

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

.gallery-grid img {
    width: 100%;
    height: 255px;          /* fixed height */
    max-width: 377px;       /* optional: ensures consistent width */
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    object-fit: cover;      /* crops cleanly without stretching */
    transition: transform 0.3s ease;
    margin: 0 auto;         /* centers images in their grid cell */
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

/* ------------------------------
   GLOBAL OVERFLOW FIX
--------------------------------*/

html, body {
    overflow-x: hidden;
}