/* JK Electricity - Main Stylesheet */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    --primary-yellow: #F5C300;
    --primary-yellow-light: #FFE066;
    --dark-charcoal: #0D0D0D;
    --slate: #1A1A2E;
    --slate-light: #252542;
    --text-light: #F5F5F5;
    --text-muted: #A0A0A0;
    --white: #FFFFFF;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --transition: all 0.3s ease;
    --container-max: 1200px;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-charcoal);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-title span {
    color: var(--primary-yellow);
}

.section-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(245, 195, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(13, 13, 13, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.logo svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-yellow);
}

.logo span {
    color: var(--primary-yellow);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-yellow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-yellow);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--slate);
    z-index: 1001;
    padding: 80px 30px;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
}

.mobile-menu a:hover {
    color: var(--primary-yellow);
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-close svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-yellow);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: var(--dark-charcoal);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(245, 195, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 195, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 195, 0, 0.1) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content h1 span {
    color: var(--primary-yellow);
    text-shadow: 0 0 30px rgba(245, 195, 0, 0.5);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--dark-charcoal);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.btn-primary:hover {
    background: var(--primary-yellow-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 195, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-yellow);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.btn-secondary:hover {
    background: rgba(245, 195, 0, 0.1);
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bulb {
    width: 320px;
    height: 320px;
    animation: bulbPulse 3s ease-in-out infinite;
}

@keyframes bulbPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(245, 195, 0, 0.3)); }
    50% { filter: drop-shadow(0 0 50px rgba(245, 195, 0, 0.6)); }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    background: var(--slate);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--dark-charcoal);
    padding: 40px 30px;
    border-radius: 5px;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(245, 195, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-yellow);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(245, 195, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    fill: var(--primary-yellow);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-us-section {
    background: var(--dark-charcoal);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 195, 0, 0.1);
    border-radius: 50%;
    border: 2px solid var(--primary-yellow);
    font-size: 2rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--primary-yellow);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(245, 195, 0, 0.5);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: var(--slate);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(245, 195, 0, 0.05));
    transform: skewX(-20deg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-content h2 span {
    color: var(--primary-yellow);
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.quote-callout {
    background: linear-gradient(135deg, rgba(245, 195, 0, 0.1), rgba(245, 195, 0, 0.05));
    border-left: 4px solid var(--primary-yellow);
    padding: 30px;
    position: relative;
}

.quote-callout::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--primary-yellow);
    opacity: 0.3;
    line-height: 1;
}

.quote-callout p {
    color: var(--white);
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-style: italic;
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    background: var(--dark-charcoal);
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(245, 195, 0, 0.2);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-yellow);
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
    background: var(--dark-charcoal);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--slate);
    padding: 40px;
    border-radius: 5px;
    border: 1px solid rgba(245, 195, 0, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
}

.testimonial-stars {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-charcoal);
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--slate);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-yellow), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-form h2 span {
    color: var(--primary-yellow);
}

.contact-form > p {
    color: var(--text-muted);
    margin-bottom: 35px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    background: var(--dark-charcoal);
    border: 1px solid rgba(245, 195, 0, 0.2);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 20px rgba(245, 195, 0, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23F5C300' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    margin-top: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: var(--dark-charcoal);
    padding: 30px;
    border-radius: 5px;
    border: 1px solid rgba(245, 195, 0, 0.1);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-yellow);
    flex-shrink: 0;
}

.info-item span {
    color: var(--text-light);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: #20BD5A;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

/* ========================================
   PAGE HEADER (For inner pages)
   ======================================== */
.page-header {
    padding: 150px 0 80px;
    background: var(--dark-charcoal);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(245, 195, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 195, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    position: relative;
}

.page-header h1 span {
    color: var(--primary-yellow);
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    position: relative;
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.services-page {
    padding: 80px 0 100px;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-page {
    padding: 80px 0 100px;
}

.about-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-page-content .about-content p {
    margin-bottom: 20px;
}

.about-page-content .about-content p:last-of-type {
    margin-bottom: 30px;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-page {
    padding: 80px 0 100px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-charcoal);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-yellow);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 195, 0, 0.1);
    border: 1px solid rgba(245, 195, 0, 0.2);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.footer-social a:hover svg {
    fill: var(--dark-charcoal);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-yellow);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-column ul a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(245, 195, 0, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    text-shadow: 0 0 10px var(--primary-yellow), 0 0 20px var(--primary-yellow);
}

/* ========================================
   ANIMATIONS - BULB FLASH OVERLAY
   ======================================== */
.bulb-flash-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(circle, #fff9c4 0%, #f5c300 40%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transform: scale(0.3);
}

.bulb-flash-overlay.active {
    animation: bulbFlash 0.6s ease-out forwards;
}

@keyframes bulbFlash {
    0% { opacity: 0; transform: scale(0.3); }
    20% { opacity: 1; transform: scale(1.1); }
    40% { opacity: 0.8; }
    60% { opacity: 0.3; }
    100% { opacity: 0; transform: scale(1.5); }
}

/* Flicker effect before flash */
.bulb-flash-overlay.flicker {
    animation: flicker 0.15s ease-in-out 4, bulbFlash 0.6s ease-out 0.6s forwards;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    25% { opacity: 0.2; }
    50% { opacity: 0.9; }
    75% { opacity: 0.1; }
}

/* Flash bulb icon */
.flash-bulb {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
}

.flash-bulb.active {
    opacity: 1;
}

.flash-bulb svg {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 30px var(--primary-yellow)) drop-shadow(0 0 60px var(--primary-yellow));
}

.flash-bulb .bulb-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
}

.flash-bulb .ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 70px;
    background: linear-gradient(to top, var(--primary-yellow), transparent);
    transform-origin: bottom center;
    opacity: 0;
}

.flash-bulb.active .ray {
    animation: rayExpand 0.5s ease-out forwards;
}

@keyframes rayExpand {
    0% { opacity: 0; height: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; height: 90px; }
}

/* ========================================
   ANIMATIONS - CLICK RIPPLE
   ======================================== */
.click-ripple {
    position: fixed;
    pointer-events: none;
    z-index: 9997;
}

.ripple-ring {
    position: absolute;
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 195, 0, 0.3) 0%, transparent 70%);
    animation: rippleExpand 0.4s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes rippleExpand {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 80px; height: 80px; opacity: 0; }
}

.ripple-spike {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-yellow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-yellow), 0 0 20px var(--primary-yellow);
    transform: translate(-50%, -50%);
    animation: spikeBurst 0.4s ease-out forwards;
}

@keyframes spikeBurst {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-charcoal);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-yellow);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-yellow-light);
}

/* ========================================
   FOCUS STATES
   ======================================== */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid,
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .about-page-content,
    .contact-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .services-page-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
