/* ============================================
   HRP ELECTRICIAN - Premium Golden Theme
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors - Premium Golden Theme */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: rgba(20, 20, 20, 0.9);
    --accent-gold: #ffd700;
    --accent-gold-light: #ffe55c;
    --accent-gold-dark: #cc9900;
    --accent-amber: #ffb800;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    --gradient-gold-shine: linear-gradient(135deg, #ffd700 0%, #fff4b8 30%, #ffd700 60%, #cc9900 100%);
    --gradient-glow: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);

    /* Typography */
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   Header Styles
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: transparent;
    transition: background var(--transition-medium), backdrop-filter var(--transition-medium);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
    transition: transform var(--transition-medium), filter var(--transition-medium);
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 15px rgba(255, 215, 0, 0.5));
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-medium);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.btn-nav {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all var(--transition-medium);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    text-align: center;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-nav-link {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-medium);
}

.mobile-menu.active .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-list li:nth-child(1) .mobile-nav-link {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-nav-list li:nth-child(2) .mobile-nav-link {
    transition-delay: 0.15s;
}

.mobile-menu.active .mobile-nav-list li:nth-child(3) .mobile-nav-link {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-list li:nth-child(4) .mobile-nav-link {
    transition-delay: 0.25s;
}

.mobile-nav-link:hover {
    color: var(--accent-gold);
}

.btn-mobile {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-medium);
    transition-delay: 0.3s;
}

.mobile-menu.active .btn-mobile {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Background with Image */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.7) 100%);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 215, 0, 0.2);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 184, 0, 0.15);
    bottom: -100px;
    left: -50px;
    animation-delay: 4s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.15);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 2rem;
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.title-line {
    font-size: clamp(2.5rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.title-line.accent {
    background: var(--gradient-gold-shine);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.4));
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.5em;
    color: var(--accent-gold);
    margin-bottom: 3rem;
    text-transform: uppercase;
    text-shadow: 0 2px 20px rgba(255, 215, 0, 0.3);
}

.btn-hero {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow:
        0 4px 30px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 40px rgba(255, 215, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn-hero:hover .btn-icon {
    transform: translateX(4px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeIn 1s ease 1s both;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--accent-gold);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateY(10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .nav-list {
        gap: 1.5rem;
    }

    .hero-subtitle {
        letter-spacing: 0.3em;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    .logo-img {
        height: 80px;
    }

    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-subtitle {
        letter-spacing: 0.2em;
        margin-bottom: 2rem;
    }

    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .scroll-indicator {
        bottom: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 75px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .title-line {
        font-size: clamp(2rem, 12vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 0.15em;
    }

    .btn-hero {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }

    .mobile-nav-link {
        font-size: 1.5rem;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) {
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   Content Sections
   ============================================ */
.section {
    padding: 6rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.gold {
    color: var(--accent-gold);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all var(--transition-medium);
}

.feature:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--accent-gold);
}

.feature-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Services Section */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-medium);
}

.service-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--accent-gold);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Booking Form Section
   ============================================ */
.booking {
    background: var(--bg-secondary);
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffd700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
}

.form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Photo Note */
.photo-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.note-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.photo-note p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Submit Button */
.btn-submit {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all var(--transition-medium);
}

.contact-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--accent-gold);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   Mobile Responsive for New Sections
   ============================================ */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .booking-form {
        gap: 1.25rem;
    }

    .file-upload {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .feature {
        flex-direction: column;
        text-align: center;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
}