/*
Theme Name: SBPlan Business
Theme URI: https://sbplan.biz
Author: SBPlan Business
Author URI: https://sbplan.biz
Description: Custom business theme for SBPlan based on corporate identity.
Version: 1.1
License: GPU
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sbplan
*/

:root {
    --primary-color: #092699;
    /* Medium Blue */
    --secondary-color: #002060;
    /* Dark Navy - Base Text & Headers */
    --accent-color: #00E5FF;
    /* Cyan Accent - Buttons/Highlights */
    --text-color: #334155;
    /* Slate 700 - Softer body text */
    --bg-color: #FFFFFF;
    --light-bg: #F8FAFC;
    /* Slate 50 */
    --surface-color: #FFFFFF;

    --font-heading: 'Montserrat', 'Verdana', sans-serif;
    --font-body: 'Open Sans', 'Arial', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

h3 {
    font-size: 1.75rem;
}

/* Add underline to H2 */
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.info-content h2::after {
    left: 0;
    /* Align left for info blocks */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 50px;
    width: auto;
    margin-right: 15px;
}

.site-title {
    font-size: 1.1rem;
    /* Not too big */
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
}

.site-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-contact {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-contact a {
    background: var(--light-bg);
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.header-contact a:hover {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(9, 38, 153, 0.1);
}

.header-contact a.icon-only {
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: url('assets/img/hero.jpeg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 220px 0 160px;
    /* More breathing room */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    /* Modern dark slate overlay */
    backdrop-filter: blur(8px);
    /* Stronger blur for glass effect */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    /* Narrower focus */
}

.hero h1 {
    font-size: 4.5rem;
    /* Massive headline */
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    /* Clean look */
}

.hero p {
    font-size: 1.6rem;
    font-weight: 400;
    color: #cbd5e1;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-color);
    color: #0f172a;
    /* Dark text on cyan */
    box-shadow: 0 10px 25px -5px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(0, 229, 255, 0.5);
    background: #fff;
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-4px);
}

/* Info Blocks */
.info-block {
    padding: 100px 0;
}

.info-block:nth-child(even) {
    background-color: var(--light-bg);
}

.info-block .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.info-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.info-content ul {
    list-style: none;
    padding: 0;
}

.info-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.info-content ul li::before {
    content: '•';
    color: var(--accent-color);
    font-size: 2rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.info-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    line-height: 0;
    /* Remove bottom space */
}

/* Contact Section */
#contact {
    background: var(--secondary-color);
    color: white;
    padding: 80px 0;
}

#contact h2 {
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

#contact h2::after {
    background: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    text-align: left;
}

.contact-info h3,
.contact-form-wrapper h3 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.contact-details a {
    color: white;
    opacity: 0.9;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px;
}

.contact-details a:hover {
    color: var(--accent-color);
    opacity: 1;
}

/* Modern Form */
.modern-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0;
    text-align: center;
    border-top: 5px solid var(--accent-color);
}

.site-footer a {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }

    .header-inner {
        flex-direction: column;
        gap: 10px;
    }

    .custom-logo {
        max-height: 40px;
        margin-right: 10px;
    }

    .site-title {
        font-size: 0.9rem;
    }

    .header-contact {
        gap: 10px;
    }

    .header-contact a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .header-contact a.icon-only {
        width: 32px;
        height: 32px;
        padding: 6px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Slightly larger for hero */
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero p {
        font-size: 16px;
    }

    .info-block {
        padding: 60px 0;
        /* Reduce padding on mobile */
    }

    .info-block .info-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .info-content {
        display: contents;
    }

    .info-content h2 {
        order: 1;
        margin-bottom: 10px;
    }

    .info-image {
        order: 2;
        margin-bottom: 20px;
        width: 100%;
    }

    .info-content>*:not(h2) {
        order: 3;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}