/* ============================================================
   MAAK LEATHER COMPANY LIMITED - Global Stylesheet
   Primary:   #556B2F (Army Green)
   Secondary: #2B3A0F (Dark Army Green)
   Accent:    #25D366 (WhatsApp Green)
   Background: #FFFFFF (White)
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================= TYPOGRAPHY ================= */

h1, h2, h3, h4, h5, h6 {
    color: #2B3A0F;
}

p {
    color: #555;
    line-height: 1.7;
}

/* ================= NAVBAR ================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* ===== LOGO IMAGE STYLING ===== */

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    background: transparent;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #2B3A0F;
    letter-spacing: 0.5px;
}

.logo-text span {
    color: #556B2F;
}

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

.nav-links a {
    text-decoration: none;
    color: #2B3A0F;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #556B2F;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #556B2F;
    transition: width 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #2B3A0F;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ================= HERO BANNER (Home Page) ================= */

.hero-banner {
    margin-top: 74px;
    position: relative;
    width: 100%;
    padding: 100px 8% 80px;
    background: linear-gradient(135deg, #2B3A0F 0%, #556B2F 50%, #6B7F3A 100%);
    text-align: center;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-banner h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-banner h1 span {
    color: #25D366;
}

.hero-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-banner .hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-banner .btn-primary {
    background: #25D366;
    color: #2B3A0F;
}

.hero-banner .btn-primary:hover {
    background: #1da851;
}

.hero-banner .btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.hero-banner .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ================= FULL PRODUCT IMAGES SLIDER (Home Page) ================= */

.full-slider {
    width: 100%;
    height: 80vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background: #f0f4f8;
}

.fslide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.fslide.active {
    opacity: 1;
}

.fslide-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf5 100%);
    padding: 40px;
}

.fslide-image img {
    width: auto;
    height: 90%;
    max-width: 95%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.fslide.active .fslide-image img {
    animation: fslideImgIn 0.8s ease 0.3s both;
}

@keyframes fslideImgIn {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Overlay with text on the left */
.fslide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.92) 70%, rgba(255,255,255,0) 100%);
    display: flex;
    align-items: center;
    padding: 40px 30px 40px 5%;
    z-index: 2;
}

.fslide-content {
    max-width: 420px;
    width: 100%;
}

.fslide-tag {
    display: inline-block;
    background: #556B2F;
    color: white;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateX(-20px);
}

.fslide.active .fslide-tag {
    animation: fslideTextIn 0.5s ease 0.5s forwards;
}

.fslide-content h2 {
    font-size: 32px;
    color: #2B3A0F;
    margin-bottom: 12px;
    line-height: 1.2;
    opacity: 0;
    transform: translateX(-20px);
}

.fslide.active .fslide-content h2 {
    animation: fslideTextIn 0.5s ease 0.6s forwards;
}

.fslide-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateX(-20px);
}

.fslide.active .fslide-content p {
    animation: fslideTextIn 0.5s ease 0.7s forwards;
}

.fslide-colors {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-20px);
}

.fslide.active .fslide-colors {
    animation: fslideTextIn 0.5s ease 0.8s forwards;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.color-dot:hover {
    transform: scale(1.2);
}

.fslide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: background 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.fslide.active .fslide-btn {
    animation: fslideTextIn 0.5s ease 1.0s forwards;
}

.fslide-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

@keyframes fslideTextIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Slider Navigation Arrows - Hidden */
.fslide-nav {
    display: none;
}

/* Slider Dots */
.fslide-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.fslide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(43, 58, 15, 0.2);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.fslide-dot.active {
    background: #556B2F;
    border-color: white;
    transform: scale(1.2);
}

/* ================= BUTTONS ================= */

.btn-primary {
    background: #556B2F;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #3D4F1E;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #556B2F;
    color: #556B2F;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
    background: #556B2F;
    color: white;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 12px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.whatsapp-btn-small {
    background: #25D366;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.3s ease;
}

.whatsapp-btn-small:hover {
    background: #1da851;
}

/* ================= PAGE HEADER (for subpages) ================= */

.page-header {
    margin-top: 74px;
    padding: 80px 8% 60px;
    background: linear-gradient(135deg, #2B3A0F 0%, #556B2F 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: white;
}

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

/* ================= PAGE CONTENT ================= */

.page-content {
    flex: 1;
    padding: 60px 8%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ================= SECTION TITLE ================= */

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

.section-title h2 {
    font-size: 36px;
    color: #2B3A0F;
    margin-bottom: 12px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
    font-size: 16px;
}

.section-title .title-accent {
    display: inline-block;
    width: 60px;
    height: 3px;
    background: #556B2F;
    margin-top: 10px;
    border-radius: 2px;
}

/* ================= FEATURES SECTION (Home Page) ================= */

.features-section {
    padding: 80px 8%;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #556B2F;
}

.feature-card h3 {
    color: #2B3A0F;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

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

footer {
    background: #2B3A0F;
    color: white;
    padding: 60px 8% 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #556B2F;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
}

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #556B2F;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact li i {
    margin-top: 4px;
    color: #556B2F;
    min-width: 16px;
}

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

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.footer-social a:hover {
    background: #556B2F;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    opacity: 0.75;
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.footer-bottom .developed-by {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.footer-bottom .developed-by span {
    color: white;
    font-weight: 600;
}

/* ================= RESPONSIVE: Tablet & Mobile ================= */

@media (max-width: 1024px) {
    .hero-banner {
        padding: 80px 5% 60px;
    }

    .hero-banner h1 {
        font-size: 36px;
    }

    .hero-banner p {
        font-size: 16px;
    }

    .full-slider {
        height: 70vh;
        min-height: 450px;
    }

    .fslide-overlay {
        width: 50%;
        padding: 30px 20px 30px 4%;
    }

    .fslide-content h2 {
        font-size: 26px;
    }

}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 5%;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 5px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.show {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a::after {
        display: none;
    }

    /* Overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
    }

    .nav-overlay.show {
        display: block;
    }

    .hero-banner {
        padding: 60px 5% 50px;
    }

    .hero-banner h1 {
        font-size: 28px;
    }

    .hero-banner p {
        font-size: 15px;
    }

    .hero-banner .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-banner .btn-primary,
    .hero-banner .btn-outline-light {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .full-slider {
        height: auto;
        min-height: auto;
    }

    .fslide {
        position: relative;
        opacity: 1;
        display: none;
        flex-direction: column;
    }

    .fslide.active {
        display: flex;
    }

    .fslide-image {
        position: relative;
        top: auto;
        right: auto;
        left: 0;
        width: 100%;
        height: 40vh;
        min-height: 280px;
        padding: 30px;
        justify-content: center;
    }

    .fslide-image img {
        max-width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .fslide-overlay {
        position: relative;
        width: 100%;
        height: auto;
        background: white;
        padding: 25px 5% 30px;
        text-align: center;
        z-index: auto;
    }

    .fslide-content {
        max-width: 100%;
    }

    .fslide-content h2 {
        font-size: 22px;
    }

    .fslide-content p {
        font-size: 14px;
    }

    .fslide-colors {
        justify-content: center;
    }

    .fslide-btn {
        width: 100%;
        justify-content: center;
    }

    .fslide-tag,
    .fslide-content h2,
    .fslide-content p,
    .fslide-colors,
    .fslide-btn,
    .fslide-image img {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .fslide-dots {
        bottom: 15px;
    }

    .fslide-dot {
        width: 10px;
        height: 10px;
    }

    .page-header {
        padding: 60px 5% 40px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .page-content {
        padding: 40px 5%;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .features-section {
        padding: 50px 5%;
    }

    footer {
        padding: 40px 5% 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Mobile logo sizing */
    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 18px;
    }

}

@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 24px;
    }

    .fslide-image {
        height: 35vh;
        min-height: 220px;
        padding: 20px;
    }

    .fslide-content h2 {
        font-size: 19px;
    }

    .logo-img {
        height: 35px;
    }

    .logo-text {
        font-size: 16px;
    }

    .nav-links {
        width: 100%;
        max-width: 100%;
    }
}