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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #e0e0e0;
    background-color: #0a0a0a;
    line-height: 1.6;
}

header {
    background-color: #111111;
    color: #ffffff;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
    position: relative;
    z-index: 100;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

header h1 a {
    color: #ffffff;
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 0;
}

nav > a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

nav > a:hover {
    opacity: 1;
}

/* Dropdown */
.dropdown {
    position: relative;
    margin-left: 2rem;
}

.dropdown > a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: opacity 0.2s;
    cursor: pointer;
}

.dropdown:hover > a {
    opacity: 1;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    min-width: 160px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    z-index: 200;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.2rem;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
    background-color: #252525;
    color: #ffffff;
}

/* Oil drip container */
.oil-drips {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    background: transparent;
    z-index: 10;
    margin-top: -1px;
}

.drip {
    position: absolute;
    top: -20px;
    width: 12px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 40%, #111 100%);
    border-radius: 0 0 50% 50%;
    animation: dripDown 3s ease-in infinite;
}

.drip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 10px;
    background: radial-gradient(ellipse, #1a1a1a, transparent);
    border-radius: 50%;
}

.drip:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 2.8s; width: 10px; }
.drip:nth-child(2) { left: 15%; animation-delay: 1.2s; animation-duration: 3.4s; width: 14px; }
.drip:nth-child(3) { left: 25%; animation-delay: 0.5s; animation-duration: 2.6s; width: 11px; }
.drip:nth-child(4) { left: 35%; animation-delay: 2.1s; animation-duration: 3.1s; width: 13px; }
.drip:nth-child(5) { left: 45%; animation-delay: 0.8s; animation-duration: 2.9s; width: 10px; }
.drip:nth-child(6) { left: 55%; animation-delay: 1.7s; animation-duration: 3.3s; width: 15px; }
.drip:nth-child(7) { left: 65%; animation-delay: 0.3s; animation-duration: 2.7s; width: 12px; }
.drip:nth-child(8) { left: 75%; animation-delay: 2.5s; animation-duration: 3.0s; width: 11px; }
.drip:nth-child(9) { left: 85%; animation-delay: 1.0s; animation-duration: 3.5s; width: 13px; }
.drip:nth-child(10) { left: 93%; animation-delay: 1.9s; animation-duration: 2.5s; width: 10px; }

@keyframes dripDown {
    0% {
        height: 0;
        opacity: 0.8;
    }
    30% {
        height: 40px;
        opacity: 1;
    }
    60% {
        height: 60px;
        opacity: 0.9;
    }
    80% {
        height: 70px;
        opacity: 0.5;
    }
    100% {
        height: 80px;
        opacity: 0;
    }
}

/* Hero (index only) */
.hero {
    background: linear-gradient(180deg, #111111 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: #ffffff;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(30, 30, 30, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(25, 25, 25, 0.5) 0%, transparent 50%);
    pointer-events: none;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.7;
    position: relative;
}

.hero .btn {
    display: inline-block;
    background-color: #ffffff;
    color: #0a0a0a;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* Page content */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.page-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.page-content p {
    font-size: 1.05rem;
    color: #999;
    margin-bottom: 1rem;
}

.page-content a {
    color: #ccc;
    transition: color 0.2s;
}

.page-content a:hover {
    color: #fff;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    border: 1px solid #222;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #111;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-color: #333;
}

.card h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.card p {
    font-size: 0.95rem;
    color: #777;
}

footer {
    background-color: #050505;
    color: #ffffff;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    opacity: 0.5;
    border-top: 1px solid #1a1a1a;
}
