/*
Theme Name:   GP Attractive Child
Theme URI:    https://example.com
Description:  Attractive GeneratePress child theme with hero, service packages, categories and contact sections. Built for service/e-commerce style businesses.
Author:       Arjun
Author URI:   https://example.com
Template:     generatepress
Version:      1.0.0
Text Domain:  gp-attractive-child
*/

/* ==========================================================================
   1. ROOT VARIABLES — change these 5 colors to re-theme the whole site
   ========================================================================== */
:root{
    --gp-primary: #111111;      /* main dark color (headings, buttons) */
    --gp-accent: #e63946;       /* accent color (price, highlights) */
    --gp-bg-light: #f7f7f8;     /* light section background */
    --gp-white: #ffffff;
    --gp-radius: 14px;
    --gp-shadow: 0 8px 24px rgba(0,0,0,0.08);
    --gp-shadow-hover: 0 14px 32px rgba(0,0,0,0.14);
}

html{
    overflow-x: hidden;
}
body{
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
*, *::before, *::after{
    box-sizing: border-box;
}
.gpac-front-page img{
    max-width: 100%;
    height: auto;
}
.site-content, #primary, #main, .content-area{
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.gpac-front-page{
    width: 100%;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.gpac-hero{
    background: linear-gradient(135deg, var(--gp-primary) 0%, #2b2b2b 100%);
    color: var(--gp-white);
    padding: 90px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.gpac-hero::before{
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 260px; height: 260px;
    background: var(--gp-accent);
    opacity: 0.15;
    border-radius: 50%;
}
.gpac-hero-inner{
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.gpac-hero h1{
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.15;
    color: var(--gp-white);
}
.gpac-hero p{
    font-size: 18px;
    opacity: 0.85;
    margin: 0 0 30px;
}
.gpac-btn{
    display: inline-block;
    background: var(--gp-accent);
    color: var(--gp-white) !important;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 6px 18px rgba(230,57,70,0.4);
}
.gpac-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(230,57,70,0.5);
}
.gpac-btn-outline{
    background: transparent;
    border: 2px solid var(--gp-white);
    box-shadow: none;
    margin-left: 12px;
}

/* ==========================================================================
   3. SECTION WRAPPER + HEADINGS
   ========================================================================== */
.gpac-section{
    padding: 70px 20px;
}
.gpac-section.gpac-bg-light{
    background: var(--gp-bg-light);
}
.gpac-container{
    max-width: 1140px;
    margin: 0 auto;
}
.gpac-section-title{
    text-align: center;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 800;
    color: var(--gp-primary);
    margin: 0 0 10px;
}
.gpac-section-sub{
    text-align: center;
    color: #666;
    max-width: 560px;
    margin: 0 auto 44px;
    font-size: 16px;
}

/* ==========================================================================
   4. CATEGORIES GRID
   ========================================================================== */
.gpac-categories{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
}
.gpac-cat-card{
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    text-align: center;
    padding: 30px 16px;
    box-shadow: var(--gp-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    text-decoration: none;
    display: block;
    color: var(--gp-primary) !important;
}
.gpac-cat-card:hover{
    transform: translateY(-6px);
    box-shadow: var(--gp-shadow-hover);
}
.gpac-cat-icon{
    font-size: 34px;
    margin-bottom: 12px;
}
.gpac-cat-card h3{
    font-size: 16px;
    margin: 0;
    font-weight: 700;
}

/* ==========================================================================
   5. SERVICE / PACKAGE CARDS
   ========================================================================== */
.gpac-packages{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}
.gpac-package-card{
    background: var(--gp-white);
    border-radius: var(--gp-radius);
    padding: 28px 24px;
    box-shadow: var(--gp-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #eee;
}
.gpac-package-card:hover{
    transform: translateY(-6px);
    box-shadow: var(--gp-shadow-hover);
    border-color: var(--gp-accent);
}
.gpac-package-card h3{
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--gp-primary);
}
.gpac-package-card p.gpac-desc{
    color: #777;
    font-size: 14px;
    margin: 0 0 18px;
    min-height: 40px;
}
.gpac-price-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.gpac-price{
    font-size: 22px;
    font-weight: 800;
    color: var(--gp-accent);
}
.gpac-add-btn{
    background: var(--gp-primary);
    color: var(--gp-white) !important;
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .5px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background .2s ease;
}
.gpac-add-btn:hover{
    background: var(--gp-accent);
}
.gpac-badge{
    position: relative;
    top: -14px;
    align-self: flex-start;
    background: var(--gp-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* ==========================================================================
   6. WHY CHOOSE US / FEATURES
   ========================================================================== */
.gpac-features{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.gpac-feature{
    text-align: center;
    padding: 10px;
}
.gpac-feature-icon{
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 50%;
    background: var(--gp-bg-light);
    font-size: 28px;
    margin: 0 auto 16px;
}
.gpac-feature h4{
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--gp-primary);
}
.gpac-feature p{
    font-size: 14px;
    color: #777;
    margin: 0;
}

/* ==========================================================================
   7. CONTACT / CTA STRIP
   ========================================================================== */
.gpac-contact{
    background: var(--gp-primary);
    color: var(--gp-white);
    border-radius: var(--gp-radius);
    padding: 50px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.gpac-contact h3{
    color: var(--gp-white);
    font-size: 24px;
    margin: 0 0 6px;
}
.gpac-contact p{
    margin: 0;
    opacity: .8;
}
.gpac-contact-phone{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 12px 22px;
    border-radius: 50px;
    color: var(--gp-white) !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 18px;
}

/* ==========================================================================
   8. RESPONSIVE
   ========================================================================== */
@media (max-width: 600px){
    .gpac-hero{ padding: 60px 16px; }
    .gpac-section{ padding: 46px 16px; }
    .gpac-contact{ text-align: center; justify-content: center; }
    .gpac-footer{ text-align: center; }
    .gpac-page-hero{ padding: 40px 16px; }
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.gpac-footer{
    background: var(--gp-primary);
    color: #ddd;
    padding: 60px 20px 30px;
}
.gpac-footer-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 34px;
}
.gpac-footer-col h4{
    color: var(--gp-white);
    font-size: 15px;
    margin: 0 0 18px;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.gpac-footer-col p{
    font-size: 14px;
    color: #aaa;
    line-height: 1.7;
    margin: 0;
}
.gpac-footer-col ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.gpac-footer-col ul li{
    margin-bottom: 11px;
}
.gpac-footer-col ul li a{
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s ease;
}
.gpac-footer-col ul li a:hover{
    color: var(--gp-accent);
}
.site-footer .site-info,
.site-info{
    background: #0c0c0c !important;
    color: #888 !important;
    text-align: center;
    padding: 20px !important;
    font-size: 13px !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.site-info a{
    color: #bbb !important;
}

/* ==========================================================================
   10. INNER PAGE (category/package/contact/privacy pages)
   ========================================================================== */
.gpac-page-hero{
    background: linear-gradient(135deg, var(--gp-primary) 0%, #2b2b2b 100%);
    color: var(--gp-white);
    padding: 60px 20px;
    text-align: center;
}
.gpac-page-hero h1{
    margin: 0;
    color: var(--gp-white);
    font-size: clamp(26px, 4vw, 40px);
}
.gpac-page-content{
    max-width: 780px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.gpac-page-content h2{
    margin: 0 0 16px;
    color: var(--gp-primary);
    font-size: 26px;
}
.gpac-page-content h3{
    margin: 30px 0 12px;
    color: var(--gp-primary);
    font-size: 19px;
}
.gpac-page-content p{
    margin: 0 0 18px;
}
.gpac-page-content ul{
    margin: 0 0 18px 22px;
}
.gpac-page-content ul li{
    margin-bottom: 8px;
}
.gpac-page-content a:not(.gpac-add-btn){
    color: var(--gp-accent);
}
.gpac-page-content .gpac-add-btn{
    display: inline-block;
    margin-top: 6px;
}
