/*
 Theme Name: GeneratePress Child
 Theme URI: https://shakeuptech.com
 Description: Child theme for GeneratePress
 Author: Abhishek
 Template: generatepress
 Version: 1.0
*/

/* ========== CUSTOM STYLES START HERE ========== */
/* ===== HEADER ===== */
/* ===== Header Base ===== */

/* ===== FULL WIDTH HEADER ===== */

.main-navigation .inside-navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 30px;
}

/* Pill Menu */
.main-navigation ul {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.main-navigation ul li a {
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.main-navigation ul li a:hover {
    background: #00d4ff;
    color: #0e1b3d;
}

/* NAVIGATION BUTTON STYLE */
.main-navigation .main-nav ul li a {
    background: rgba(255,255,255,0.06);
    padding: 5px 20px;
    margin: 0 5px;
	font-size: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 600;
}

/* ===== Search Wrapper ===== */
.custom-header-search form {
    display: flex;
    align-items: center;
}

/* ===== Input Field ===== */
.custom-header-search input[type="search"] {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(0,255,212,0.35);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 8px 14px;
    color: #ffffff;
    width: 190px;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Placeholder */
.custom-header-search input[type="search"]::placeholder {
    color: rgba(255,255,255,0.5);
}

/* ===== Search Button ===== */
.custom-header-search button,
.custom-header-search input[type="submit"] {
    background: linear-gradient(90deg, #00f5d4, #00bbf9);
    border: 1px solid rgba(0,255,212,0.35);
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding: 8px 14px;
    color: #0b1c3d;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover */
.custom-header-search button:hover,
.custom-header-search input[type="submit"]:hover {
    background: linear-gradient(90deg, #00bbf9, #00f5d4);
}

/* Focus Glow */
.custom-header-search input[type="search"]:focus {
    outline: none;
    box-shadow: 0 0 12px rgba(0,255,212,0.25);
}
/* Make search button perfectly aligned */
.custom-header-search button,
.custom-header-search input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
}

/* Fix SVG size */
.custom-header-search button svg {
    width: 16px;
    height: 21px;
}

/* Remove extra internal spacing */
.custom-header-search button svg {
    margin: 0;
}

/* Logo + Tagline layout */
.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Increase logo size */
.site-branding img {
    max-height: 65px;
}

/* Custom tagline styling */
.custom-tagline {
    font-size: 16px;
    font-weight: 500;
    color: #00e0c6;
    opacity: 0.9;
}





/* Logo color */
.site-logo a {
    color: #00e5ff;
    font-weight: 700;
    font-size: 24px;
}
.gp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.gp-hero-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
}


.gp-hero-card img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}


.gp-hero-card:hover img {
    transform: scale(1.05);
}

.gp-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0.2) 70%,
        transparent 100%
    );
}


.gp-hero-overlay h2 {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    max-width: 85%;
}



.gp-hero-card:hover::after {
    background: rgba(0,0,0,0.1);
}

@media(max-width:768px){
    .gp-hero {
        grid-template-columns: 1fr;
    }
    .gp-hero-card img {
        height: 300px;
    }
}
