/*
Theme Name: SKM Digital
Theme URI: https://skmdigital.com
Author: SKM Digital
Author URI: https://skmdigital.com
Description: Tema profesional SKM DIGITAL - Solusi Digital Terpercaya
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: skm-digital
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark: #0a0a0a;
    --darker: #050505;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8941f;
    --white: #ffffff;
    --gray: #cccccc;
    --gray-dark: #666666;
    --card-bg: #1a1a1a;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--gold);
}

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

.menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    padding: 100px 20px 50px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto 0;
}

/* About Section */
.about {
    background: var(--darker);
}

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

.about-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px dashed rgba(212, 175, 55, 0.3);
    overflow: hidden;
}

.card-image i {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.5;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.about-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Products Section */
.products {
    background: var(--dark);
}

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

.product-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.product-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px dashed rgba(212, 175, 55, 0.3);
    overflow: hidden;
}

.product-image i {
    font-size: 3.5rem;
    color: var(--gold);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.product-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
    background: var(--darker);
}

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

.portfolio-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    position: relative;
}

.portfolio-image i {
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.5;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.portfolio-image .wp-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--gray);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--dark);
}

.contact-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 2rem;
    color: var(--gold);
    margin-top: 5px;
}

.info-item h4 {
    color: var(--gold);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item a,
.info-item p {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--gold);
}

.contact-center {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 60px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
}

.btn-contact i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--darker);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer p {
    color: var(--gray);
}

/* WordPress Admin Bar fix */
.admin-bar .navbar {
    top: 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        padding: 30px 0;
        gap: 0;
        transition: var(--transition);
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-box {
        padding: 30px 20px;
    }

    .btn-contact {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .about-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}
