/* ============================================
   Goodwill Ceramics - CSS Styles
   Design: Artisanal Minimalism with Warm Earthiness
   Color Palette: Warm Clay (#C9A876), Deep Charcoal (#2A2420), Cream (#F8F6F1), Sage Green (#8B9B7A)
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root{
    --gold:#d4a24c;
    --gold-hover:#f0b85a;
    --black:#0a0a0a;
    --dark:#121212;
    --card:#1a1a1a;
    --text:#ffffff;
    --text-light:#cccccc;
}
body {
   font-family: 'Lato', sans-serif;
    color: #ffffff;
    background: #0a0a0a;
    line-height: 1.6;
    padding-top: 120px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
font-size: 2.5rem;
color: var(--text);
}

h3 {
font-size: 1.5rem;
color: var(--text);
}

p {
font-size: 1rem;
color: var(--text-light);
}
/* =========================
   Navbar
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.35s ease;
    will-change: transform;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background: rgba(0,0,0,0.95);
    border-bottom: 1px solid rgba(212,162,76,0.2);
    backdrop-filter: blur(12px);
}

/* Hide navbar smoothly */
.navbar.hide {
    transform: translateY(-100%);
}

/* Prevent content hiding */
body {
    padding-top: 120px;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    background: var(--gold);
    color:#000;
}

.brand-name {
font-family: 'Playfair Display', serif;
font-size: 1.3rem;
font-weight: 700;
color: var(--text);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}


@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;

        display: flex;
        flex-direction: column;
        align-items: center;

        /* PERFECT HIDE */
        max-height: 0;
        overflow: hidden;
        padding: 0;

        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    /* OPEN MENU */
    .nav-menu.active {
        max-height: 500px;
        padding: 20px 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 0;

    }

    .navbar .container {
        position: relative;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
	background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #C9A876;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    position: relative;
}

.cart-link:hover {
    color: white;
    background-color: #B89968;
}

.cart-link::after {
    display: none;
}

.cart-count {
    background-color: #8B9B7A;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    height:100vh;
    background:
        linear-gradient(rgba(0,0,0,.75),rgba(0,0,0,.75)),
        url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6');
    background-size:cover;
    background-position:center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 600px;
    padding: 20px;
}

.hero-title {
    color:#fff;
    font-size:4.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color:#ddd;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color:#000;
    border:none;
}

.btn-primary:hover {
    background: var(--gold-hover);
    color:#000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 118, 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    width: 100%;
    margin-top: 10px;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
}

.btn-call {
    background-color: #0084FF;
    color: white;
    width: 100%;
    margin-top: 10px;
}

.btn-call:hover {
    background-color: #0073E6;
}

.btn-email {
    background-color: #EA4335;
    color: white;
    width: 100%;
    margin-top: 10px;
}

.btn-email:hover {
    background-color: #D33425;
}

/* Sections */
section {
    padding: 80px 0;
}

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

/* Shop Section */
.shop {
    background: var(--black);
}

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

.product-card {
background: var(--card);
border: 1px solid rgba(212,162,76,.15);
transform: translateY(-8px);
border-color: var(--gold);
box-shadow: 0 10px 25px rgba(212,162,76,.15);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.product-category {
    color: #8B9B7A;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.add-to-cart-btn {
    width: 100%;
    background-color: #C9A876;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #B89968;
}

/* Gallery Section */
.gallery {
    background: #111;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* About Section */
.about {
    background:
	linear-gradient(rgba(10,10,10,.95), rgba(10,10,10,.95)),
	url('https://images.unsplash.com/photo-1615873968403-89e068629265');
	background-size: cover;
	background-position: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;

}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
background: var(--card);
border: 1px solid rgba(212,162,76,.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature h3 {
    font-size: 1.2rem;
color: var(--text);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    background: #111;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--card);
	border: 1px solid rgba(212,162,76,.15);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contact-value a {
    color: #C9A876;
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-container {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
	background: var(--card);
border: 1px solid rgba(212,162,76,.15);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gold)
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #E0DDD5;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C9A876;
    box-shadow: 0 0 0 3px rgba(201, 168, 118, 0.1);
}

/* Footer */
.footer {
    background: #000;
color: var(--text);
border-top: 1px solid rgba(212,162,76,.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text);
color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #C9A876;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 168, 118, 0.2);
    color: #999;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #999;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #2A2420;
}

/* Cart Items */
.cart-items {
    margin: 1.5rem 0;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #E0DDD5;
    align-items: center;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #2A2420;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: #C9A876;
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    background-color: #E0DDD5;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

.quantity-btn:hover {
    background-color: #C9A876;
    color: white;
}

.remove-btn {
    background-color: #EA4335;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
}

.remove-btn:hover {
    background-color: #D33425;
}

.cart-summary {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #E0DDD5;
}

.cart-summary p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2A2420;
    margin-bottom: 1rem;
}

/* Checkout Form */
.checkout-form {
    display: grid;
    gap: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

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

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}

