/* css/style.css */
:root {
    --color-bg: #ffffff;
    --color-surface: #fafafa;
    --color-surface-hover: #f0f0f0;
    --color-text: #1a1a1b;
    --color-text-muted: #6b6b6b;
    --color-gold: #b5952f;
    --color-gold-hover: #9c8025;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-gold);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-gold);
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Adjust height based on preference */
    width: auto;
    border-radius: 4px;
    /* Optional slight rounding */
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    background-color: transparent;
    color: var(--color-gold);
    padding: 0.8rem 2rem;
    border: 1px solid var(--color-gold);
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--color-gold);
    color: var(--color-bg);
}

.btn-whatsapp {
    border-color: #25D366;
    color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #25D366;
    color: #ffffff;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.logo {
    font-size: 1.8rem;
    color: var(--color-gold);
    letter-spacing: 2px;
}

nav a {
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section Redesign */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    background: radial-gradient(circle at right center, #ffffff 0%, #f4f4f4 100%);
    position: relative;
    overflow: hidden;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    z-index: 2;
    margin-top: 110px;
    /* Offset for navbar */
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    animation: fadeUp 1s ease forwards;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--color-gold), #7d651d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: var(--color-gold);
    margin-bottom: 2rem;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
}

.floating-gem {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Section */
.features-section {
    padding: 7rem 5%;
    background-color: #fafafa;
    text-align: center;
}

.features-header {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.features-header h2 {
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.features-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(212, 175, 55, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    color: var(--color-gold);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Catalog Section */
.catalog-section {
    padding: 8rem 5%;
    min-height: 100vh;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-gold);
    color: #fff;
    border-color: var(--color-gold);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gem-card {
    background: var(--color-surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.gem-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gem-image {
    width: 100%;
    height: 250px;
    background: #f0f0f0;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 4px;
}

.gem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.gem-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gem-category {
    font-size: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.gem-price {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.loader {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Contact Section */
.contact-section {
    padding: 6rem 5%;
    background: var(--color-surface);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

input,
textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-text);
    font-family: var(--font-body);
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.status-msg {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.status-msg.success {
    color: #4ade80;
}

.status-msg.error {
    color: #f87171;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5vh auto;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    color: #1a1a1a;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-gold);
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-image-container {
    flex: 1;
    min-width: 300px;
    background: #fcfcfc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 600px;
}

.modal-details {
    flex: 1;
    min-width: 300px;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-details h2 {
    text-align: left;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.badge {
    padding: 0.25rem 0.6rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    border-radius: 2px;
    background: #eee;
    margin-right: 0.5rem;
    display: inline-block;
    font-weight: 600;
}

.badge.sold {
    background: #ffebee;
    color: #c62828;
}

.badge.featured {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Footer Redesign */
.site-footer {
    background-color: #ffffff;
    color: var(--color-text);
    padding: 5rem 5% 0 5%;
    font-family: var(--font-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.footer-logo {
    width: 140px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    background-color: transparent;
    padding: 0;
}

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 350px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.contact-info .icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: var(--color-gold);
}

.footer-col h3 {
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    font-family: var(--font-body);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--color-gold);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 2.5rem 0;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {

    /* Global Spacing */
    section,
    .features-section,
    .catalog-section,
    .contact-section {
        padding: 4rem 5%;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Grids */
    .features-grid,
    .catalog-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }

    /* Hero */
    .hero-split {
        flex-direction: column;
        text-align: center;
        margin-top: 100px;
        gap: 2rem;
    }

    .hero-text {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .floating-gem {
        max-width: 90%;
    }

    /* Navbar */
    .navbar {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    nav {
        margin-top: 0.8rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    nav a {
        margin: 0;
        font-size: 0.85rem;
    }

    /* Modals & Forms */
    .modal-content {
        margin: 10vh auto;
        width: 95%;
    }

    .modal-details {
        padding: 2rem 1.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto 2rem auto;
    }

    .contact-info li {
        justify-content: center;
    }
}