/* ===================================
   PT. INSIA KARYA UTAMA - Premium Style
   Premium Black & Gold Theme
   =================================== */

/* CSS Variables - Dark Mode (Default) */
:root {
    --primary-gold: #D4AF37;
    --primary-gold-light: #F4D03F;
    --primary-gold-dark: #B8860B;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --text-dark-gray: #707070;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #B8860B 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

/* Light Mode Variables */
[data-theme="light"] {
    --primary-gold: #B8860B;
    --primary-gold-light: #D4AF37;
    --primary-gold-dark: #8B6914;
    --bg-dark: #f5f5f5;
    --bg-darker: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f0;
    --text-light: #1a1a1a;
    --text-gray: #4a4a4a;
    --text-dark-gray: #6a6a6a;
    --gradient-gold: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #8B6914 100%);
    --gradient-dark: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    --shadow-gold: 0 0 30px rgba(184, 134, 11, 0.2);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Preloader
   =================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    width: 120px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: #333;
    margin-top: 30px;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: -50%;
    width: 50%;
    height: 100%;
    background: var(--gradient-gold);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { left: -50%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 40px;
}

.nav-list {
    display: flex;
    gap: 40px;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle .bar {
    width: 30px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================
   Navigation Controls (Theme & Language)
   =================================== */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--bg-card);
    border: 2px solid var(--primary-gold);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle:hover {
    box-shadow: var(--shadow-gold);
}

.theme-toggle i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: var(--transition);
}

.sun-icon {
    left: 8px;
    color: var(--primary-gold);
    opacity: 0;
}

.moon-icon {
    right: 8px;
    color: var(--primary-gold);
    opacity: 1;
}

[data-theme="light"] .sun-icon {
    opacity: 1;
}

[data-theme="light"] .moon-icon {
    opacity: 0;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--gradient-gold);
    border-radius: 50%;
    transition: transform 0.3s ease;
    z-index: 1;
}

[data-theme="light"] .theme-toggle::before {
    transform: translateX(30px);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
    background: var(--bg-card);
    border: 2px solid var(--primary-gold);
    border-radius: 30px;
    padding: 3px;
}

.lang-btn {
    width: 35px;
    height: 24px;
    border: none;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.3s ease;
}

.lang-btn .flag-icon {
    font-size: 16px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--gradient-gold);
}

.lang-btn.active .flag-icon,
.lang-btn:hover .flag-icon {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--bg-darker);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 20px;
    padding: 10px 30px;
    border: 1px solid var(--primary-gold);
    border-radius: 30px;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
}

.hero-title span {
    color: var(--primary-gold);
}

.hero-description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-gold);
    display: inline-block;
}

.stat-plus {
    font-size: 36px;
    color: var(--primary-gold);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 20px;
    color: var(--primary-gold);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.title-line {
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 0 auto 20px;
    border-radius: 3px;
}

.section-description {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 120px 0;
    background: var(--bg-dark);
    transition: background-color 0.3s ease;
}

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

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.about-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
}

.image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-gold);
    border-radius: 10px;
    z-index: -1;
}

.about-text h3 {
    font-family: var(--font-secondary);
    font-size: 28px;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
}

.feature-item i {
    color: var(--primary-gold);
    font-size: 18px;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 120px 0;
    background: var(--bg-darker);
}

.service-category {
    margin-bottom: 80px;
}

.service-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 28px;
    color: var(--bg-dark);
}

.category-info {
    flex: 1;
}

.category-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: var(--gradient-gold);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.category-badge.sbu {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}

.category-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-light);
}

.main-service .category-header {
    border-bottom-color: var(--primary-gold);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-gold);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-gold);
}

.service-icon i {
    font-size: 28px;
    color: var(--primary-gold);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--bg-dark);
}

.service-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.4;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-code {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

/* ===================================
   Portfolio Section
   =================================== */
.portfolio {
    padding: 120px 0;
    background: var(--bg-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-placeholder i {
    font-size: 60px;
    color: var(--primary-gold);
    opacity: 0.5;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-placeholder i {
    opacity: 1;
    transform: scale(1.2);
}

.portfolio-overlay h4 {
    font-size: 20px;
    color: var(--primary-gold);
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 14px;
    color: var(--text-gray);
}

/* ===================================
   Why Choose Us Section
   =================================== */
.why-us {
    padding: 120px 0;
    background: var(--bg-darker);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-us-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--bg-card);
    border-radius: 20px;
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
}

.why-us-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: var(--transition);
}

.why-us-card:hover .why-us-icon {
    transform: rotateY(180deg);
}

.why-us-icon i {
    font-size: 40px;
    color: var(--bg-dark);
}

.why-us-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
}

.why-us-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 120px 0;
    background: var(--bg-dark);
}

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

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

.contact-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-gold);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: var(--bg-dark);
}

.contact-details h4 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.contact-details p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-details a {
    color: var(--primary-gold);
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: var(--bg-dark);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 14px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-gold);
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-dark-gray);
}

.contact-form select {
    appearance: none;
    cursor: pointer;
}

.contact-form select option {
    background: var(--bg-dark);
    color: var(--text-light);
}

.contact-form .form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    font-size: 16px;
}

.contact-form .form-group:last-of-type i {
    top: 20px;
    transform: none;
}

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

.btn-submit {
    width: 100%;
    justify-content: center;
}

/* ===================================
   Map Section
   =================================== */
.map-section {
    width: 100%;
    height: 450px;
    position: relative;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    /* Filter values create a dark theme map matching the website's color scheme:
       grayscale(100%) removes colors, invert(92%) inverts to dark mode,
       contrast(83%) softens the contrast for better readability */
    filter: grayscale(100%) invert(92%) contrast(83%);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-darker);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand p {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-tagline {
    color: var(--primary-gold) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-gold);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-gray);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-gold);
    padding-left: 10px;
}

.footer-services ul li {
    color: var(--text-gray);
    font-size: 14px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-contact p i {
    color: var(--primary-gold);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: var(--text-dark-gray);
    font-size: 14px;
}

/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    animation: whatsappPulse 2s infinite;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 30px;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 20px;
    color: var(--bg-dark);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        padding: 100px 50px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-controls {
        order: -1;
        margin-right: auto;
        margin-left: 20px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-services h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ===================================
   Particle Animation Styles
   =================================== */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-100px) translateX(50px);
    }
    50% {
        transform: translateY(-50px) translateX(-50px);
    }
    75% {
        transform: translateY(-150px) translateX(25px);
    }
}

/* ===================================
   Custom Scrollbar
   =================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-dark);
}

/* ===================================
   Selection Styles
   =================================== */
::selection {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

::-moz-selection {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

/* ===================================
   Notification Animations
   =================================== */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ===================================
   Button Ripple Effect
   =================================== */
@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* ===================================
   Light Mode Specific Adjustments
   =================================== */
[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .hero::before {
    background: radial-gradient(circle at 20% 50%, rgba(184, 134, 11, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(184, 134, 11, 0.05) 0%, transparent 50%);
}

[data-theme="light"] .service-card {
    background: var(--bg-card);
    border: 1px solid rgba(184, 134, 11, 0.1);
}

[data-theme="light"] .service-card:hover {
    box-shadow: 0 10px 40px rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .btn-primary {
    color: #ffffff;
}

[data-theme="light"] .btn-secondary {
    border-color: var(--primary-gold);
    color: var(--text-light);
}

[data-theme="light"] .btn-secondary:hover {
    background: var(--primary-gold);
    color: #ffffff;
}

[data-theme="light"] .service-icon {
    background: rgba(184, 134, 11, 0.1);
}

[data-theme="light"] .particle {
    background: rgba(184, 134, 11, 0.3);
}

[data-theme="light"] .back-to-top {
    background: var(--gradient-gold);
    color: #ffffff;
}

[data-theme="light"] .back-to-top:hover {
    box-shadow: 0 5px 20px rgba(184, 134, 11, 0.3);
}
