/* ========================================
   Gridkawa - Shared Styles
   ======================================== */

/* === Variables & Base === */
:root {
    --primary-color: #0066cc;
    --secondary-color: #00b4d8;
    --accent-color: #06ffa5;
    --dark-color: #1a1a2e;
    --light-bg: #f8f9fa;
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

a { transition: all 0.3s ease; }

/* === Skip Navigation (Accessibility) === */
.skip-nav {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 1100;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-nav:focus {
    top: 0;
    color: white;
}

/* === Navigation === */
nav.navbar {
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover { color: var(--accent-color) !important; }

.nav-link.btn-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    -webkit-text-fill-color: var(--dark-color);
    color: var(--dark-color) !important;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-link.btn-hero:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

/* === Page Header (Sub-pages) === */
.page-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 50%, var(--primary-color) 100%);
    color: white;
    padding: 0 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 255, 165, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
.page-header p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* === Section Titles === */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-title span {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === Highlight Box (Legal pages) === */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 180, 216, 0.05));
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box p { margin-bottom: 0; color: #444; }

/* === Accordion (FAQ) === */
.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 180, 216, 0.05));
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus { box-shadow: none; border-color: transparent; }
.accordion-body { padding: 0 1.5rem 1.25rem; color: #666; line-height: 1.7; }

/* === CTA Section === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.95; }

/* === Footer === */
footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 180, 216, 0.2);
}

footer h4 { color: white; font-weight: 700; margin-bottom: 1.5rem; }

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover { color: var(--accent-color); }
footer ul { list-style: none; padding: 0; }
footer li { margin-bottom: 0.7rem; }

.footer-bottom {
    border-top: 1px solid rgba(0, 180, 216, 0.2);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-socials { display: flex; gap: 1rem; justify-content: center; }

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 180, 216, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-socials a:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

/* === Responsive (Shared) === */
@media (max-width: 992px) {
    .page-header h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .nav-link { margin-left: 1rem; }
}

@media (max-width: 768px) {
    .page-header { padding: 0 0 40px; }
    .page-header h1 { font-size: 1.8rem; }
    .cta-section h2 { font-size: 1.8rem; }
}
