/* ====== RESET ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: #f5f5f5;
    color: #222;
    transition: .3s;
}

.dark body {
    background: #111;
    color: #eee;
}

/* ====== NAV ====== */
nav {
    position: fixed;
    width: 100%;
    padding: 20px 40px;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    transition: .3s;
}

.dark nav {
    background: rgba(0,0,0,0.6);
    border-bottom-color: rgba(255,255,255,0.1);
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

/* Desktop menu */
nav ul {
    display: flex;
    gap: 30px;
}

nav ul li {
    list-style: none;
}

nav ul a {
    text-decoration: none;
    color: inherit;
    opacity: .75;
    transition: .2s;
}
nav ul a:hover {
    opacity: 1;
}

/* Mobile menu */
.burger {
    display: none;
    width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 4px;
    background: #222;
    border-radius: 4px;
    transition: .3s;
}

.dark .burger span {
    background: #eee;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: inherit;
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

/* ====== DARK MODE BUTTON ====== */
.theme-btn {
    margin-left: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #222;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: .3s;
}

.dark .theme-btn {
    background: #eee;
    color: #000;
}

/* ====== RINGS ON HOMEPAGE ====== */

.ring-card {
    width: 260px;
    height: 260px;
    margin: 40px;
    border-radius: 50%;
    border: 3px solid rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .4s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ring-card img {
    width: 70%;
    transition: .4s;
}

.ring-card:hover {
    transform: scale(1.08);
    border-color: #000;
}

.ring-card:hover img {
    transform: scale(1.15);
}

.dark .ring-card {
    border-color: rgba(255,255,255,0.25);
}

.rings-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 120px;
}

/* ====== PAGE TITLE ====== */
.page-title {
    text-align: center;
    margin-top: 100px;
    font-size: 46px;
    margin-bottom: 40px;
}

/* ====== PRODUCT PAGE ====== */
.product {
    max-width: 900px;
    padding: 120px 20px;
    margin: auto;
    text-align: center;
}

.product img {
    width: 260px;
}

.price {
    font-size: 38px;
    margin: 20px 0;
}

.btn {
    padding: 12px 28px;
    background: #222;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: .3s;
}

.btn:hover {
    background: #000;
}

.dark .btn {
    background: #eee;
    color: #000;
}

/* ====== FOOTER ====== */
footer {
    margin-top: 60px;
    padding: 30px;
    text-align: center;
    opacity: .5;
}

/* ====== SCROLL REVEAL ANIMATION ====== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: .7s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .burger {
        display: flex;
    }
    .mobile-menu {
        display: none;
        background: rgba(255,255,255,0.8);
    }
    .dark .mobile-menu {
        background: rgba(0,0,0,0.8);
    }
}
