﻿/* -----------------------------------
   card_css10.css (Template 10 – Orange Theme Final v2)
   ----------------------------------- */
@import url("https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700");

/* ===== BASE ===== */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    background: #f5f6fa;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* ===== GLOBAL VARIABLES ===== */
:root {
    --primary: #ff9800;
    --primary-dark: #e68900;
    --accent: #ffb84d;
    --light-bg: #ffffff;
    --gray-bg: #f3f3f3;
    --text-dark: #333;
    --radius: 12px;
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    --success: #25d366;
}

/* ===== GENERAL ELEMENTS ===== */
a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

button {
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
}

/* ===== WRAPPER ===== */
.card-wrapper {
    max-width: 440px;
    width: 100%;
    margin: 20px auto 90px;
}

/* ===== CARD SECTIONS ===== */
.card, .card2, .share-section {
    width: 100%;
    margin: 18px auto;
    border-radius: var(--radius);
    background: var(--light-bg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: 0.3s ease;
}

    .card:hover, .card2:hover, .share-section:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

/* ===== PROFILE HEADER ===== */
.card {
    text-align: center;
    padding: 25px 20px;
}

.card_content img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 6px solid #f2f2f2;
    object-fit: cover;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    margin: 10px auto;
}

.card_content2 h2 {
    color: var(--primary);
    font-size: 22px;
    text-transform: uppercase;
    margin: 10px 0 4px;
    font-weight: 700;
}

.card_content2 p {
    color: #555;
    font-size: 13px;
    margin: 0;
    font-weight: 600;
}

/* ===== CONTACT DETAILS ===== */
.contact_details {
    padding: 10px 25px 20px;
}

.contact_d {
    display: flex;
    align-items: center;
    background: #fafafa;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 10px;
    transition: background 0.3s;
}

    .contact_d:hover {
        background: #f0f0f0;
    }

    .contact_d i {
        background: var(--primary);
        color: #fff;
        padding: 9px;
        border-radius: 50%;
        font-size: 14px;
        margin-right: 12px;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact_d p {
        margin: 0;
        font-size: 13px;
        font-weight: 500;
        color: var(--text-dark);
    }

/* ===== SHARE SECTION ===== */
.share-section {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 20px 15px 30px;
}

    .share-section h3 {
        margin-bottom: 5px;
        font-size: 18px;
    }

.share-subtext {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.whatsapp-share-box .input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.whatsapp-share-box input {
    border: none;
    padding: 10px;
    font-size: 13px;
    width: 130px;
    border-radius: 6px 0 0 6px;
}

.btn-whatsapp {
    background: var(--success);
    border: none;
    color: #fff;
    padding: 10px 14px;
    font-weight: 600;
    border-radius: 0 6px 6px 0;
}

    .btn-whatsapp:hover {
        background: #1ebe57;
    }

.share-btn-row {
    margin-top: 15px;
}

.btn-outline {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    margin: 4px;
    font-size: 12px;
}

    .btn-outline:hover {
        background: #fff;
        color: var(--primary);
    }

/* ===== QR SECTION ===== */
.qr-section {
    background: var(--light-bg);
    padding: 15px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.qr-header {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.qr-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    margin: 10px auto;
    display: block;
}

.qr-download-btn {
    display: inline-block;
    margin-top: 8px;
    background: var(--primary);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
}

    .qr-download-btn:hover {
        background: var(--primary-dark);
    }

.copy-link-btn {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
}

    .copy-link-btn:hover {
        background: var(--primary);
        color: #fff;
    }

/* ===== ABOUT / CARD2 HEADINGS ===== */
.card2 h3 {
    background: var(--primary);
    color: #fff;
    padding: 12px 25px;
    margin: 0 0 15px;
    font-weight: 600;
    font-size: 18px;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

/* ===== PRODUCTS / SERVICES ===== */
.product-card {
    background: #fffdf6;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    text-align: center;
    padding: 10px;
    margin: 10px auto;
}

    .product-card img {
        width: 100%;
        max-height: 200px;
        border-radius: 6px;
        object-fit: cover;
    }

    .product-card h4 {
        color: var(--primary-dark);
        margin: 6px 0;
    }

    .product-card p {
        font-size: 13px;
        color: #555;
    }

.product-enquiry-section {
    margin-top: 8px;
}

.product-enquiry-btn {
    background: var(--success);
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
}

/* ===== PAYMENT SECTION ===== */
.payment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 10px 15px;
}

.pay-box {
    background: #fffaf2;
    border: 1px solid #ffd699;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: transform 0.2s ease;
}

    .pay-box:hover {
        transform: translateY(-3px);
    }

    .pay-box h4 {
        color: var(--primary-dark);
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .pay-box p {
        font-size: 12px;
        margin: 0 0 6px;
        color: #555;
    }

/* ===== GALLERY ===== */
.gallery_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.gallery_img {
    width: 30%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.gallery-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.gallery-popup-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 10px #000;
}

.gallery-popup .close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* ===== VIDEO / YOUTUBE ===== */
.video-item {
    margin: 10px auto;
    max-width: 400px;
    text-align: center;
}

    .video-item iframe, .video-item video {
        width: 100%;
        height: 230px;
        border: none;
        border-radius: 8px;
    }

    .video-item p {
        font-size: 13px;
        margin-top: 5px;
        color: #333;
    }

/* ===== FEEDBACK / FORMS ===== */
.card2 form input,
.card2 form textarea,
.card2 form select {
    width: 90%;
    margin: 8px auto;
    display: block;
    padding: 12px;
    border: 1px solid #ffd699;
    border-radius: 6px;
    background: #fffdf4;
    font-size: 14px;
}

.card2 form button, .btn-feedback {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

    .card2 form button:hover, .btn-feedback:hover {
        background: var(--primary-dark);
    }

/* ===== FEEDBACK BLOCK ===== */
.feedback_block {
    background: #fff;
    border-left: 4px solid var(--primary);
    margin: 12px 15px;
    padding: 10px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

    .feedback_block .star {
        color: var(--primary);
        font-size: 16px;
        margin-bottom: 6px;
    }

/* ===== COPYRIGHT ===== */
.copyright {
    background: var(--primary-dark);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
}

    .copyright a {
        color: #fff;
        font-weight: 600;
    }

        .copyright a:hover {
            text-decoration: underline;
        }

/* ===== FOOTER MENU ===== */
.footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
    z-index: 999;
}

    .footer-menu .menu-item {
        flex: 1;
        text-align: center;
        font-size: 11px;
        font-weight: 600;
        padding: 6px 0;
        color: var(--primary-dark);
    }

        .footer-menu .menu-item i {
            display: block;
            font-size: 18px;
            margin-bottom: 3px;
        }

        .footer-menu .menu-item:hover {
            background: var(--primary);
            color: #fff;
        }

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
    .card-wrapper {
        margin: 10px 5px 80px;
    }

    .payment-wrapper {
        grid-template-columns: 1fr;
    }

    .gallery_img {
        width: 48%;
    }

    .card_content img {
        width: 90px;
        height: 90px;
    }
}
