/* General Styles */
:root {
    --primary-color: #2196F3;
    --secondary-color: #1565c0;
    --dark-color: #1a237e;
    --light-color: #f5faff;
}

html {
    scroll-behavior: smooth;
}

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

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    height: 40px;
    width: auto;
}

.navbar-brand span {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
    scroll-margin-top: 90px;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Product Section */
#produk .card {
    border-radius: 15px;
}

#produk .card-body {
    padding: 1.5rem;
}

#produk .btn-outline-primary {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#produk .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

/* Form Styles */
.form-control {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1,
.hero-section p,
.hero-section .btn {
    animation: fadeIn 1s ease-out;
}

/* Social Links */
.social-links a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .card-img-top {
        height: 180px;
    }
}

/* Footer Styles */
footer {
    background: var(--dark-color) !important;
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

/* Produk Section Illustration */
#produk .text-center img[alt="Produk EYZET"] {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    animation: float 4s ease-in-out infinite;
}

/* Product Card Overlay Example Image */
.product-card {
    overflow: hidden;
    position: relative;
}
.product-card .product-img {
    z-index: 1;
    position: relative;
}
.product-card .example-img {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 15px;
    transition: opacity 0.5s;
}
.product-card:hover .example-img {
    opacity: 1 !important;
}
.product-card .example-img {
    opacity: 0.7;
}

@media (max-width: 768px) {
    #produk .text-center img[alt="Produk EYZET"] {
        max-width: 200px;
    }
}

.product-img-top {
    display: block;
    max-width: 80%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #f3f3f3;
}

.btn-primary, .btn-outline-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-primary:hover, .btn-outline-primary:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
}

.navbar, .navbar-light {
    background: var(--light-color) !important;
}

.navbar-brand, .nav-link.active, .nav-link:focus, .nav-link:hover {
    color: var(--primary-color) !important;
}

.hero-overlay {
    background: rgba(0,0,0,0.45);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-content,
.hero-content h1,
.hero-content p,
.hero-content .btn {
    color: #fff !important;
}

.animate-fadein {
    animation: fadeInHero 1.2s ease-out;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 