/*
Theme Name: The Gentry
Theme URI: https://thegentry.sg
Author: The Gentry
Description: A premium barber shop theme with a luxury dark and gold aesthetic.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, gold, luxury, barber, responsive
*/

/* Global Styles */
:root {
    --primary-color: #d4af37;
    /* Gold */
    --secondary-color: #1a1a1a;
    /* Dark Grey/Black */
    --text-color: #e0e0e0;
    --bg-color: #121212;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: kubectl rgba(26, 26, 26, 0.95);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    gap: 2rem;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Services Section */
.services {
    padding: 5rem 5%;
    text-align: center;
    background-color: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
}

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

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.price {
    display: block;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 1rem;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 5rem 5%;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    height: 400px;
    background-color: #333;
    /* Placeholder for actual image if needed, or re-use existing */
    background: url('images/hero.png') no-repeat center center/cover;
    /* Reusing hero for now */
    border: 2px solid var(--primary-color);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Location/Contact */
.contact {
    padding: 5rem 5%;
    background-color: var(--secondary-color);
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Team Section */
.team,
.gallery,
.testimonials,
.shop,
.blog {
    padding: 5rem 5%;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.team {
    background-color: #151515;
}

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

.team-card {
    background-color: #1a1a1a;
    padding-bottom: 1.5rem;
    border: 1px solid #333;
}

.team-img {
    height: 300px;
    width: 100%;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
    filter: sepia(20%) contrast(1.1);
}

.team-card h3 {
    margin: 0.5rem 0;
    color: var(--primary-color);
}

.specialty {
    font-style: italic;
    color: #888;
    font-size: 0.9rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-item:hover {
    opacity: 0.8;
}

/* Testimonials */
.testimonials {
    background-color: #111;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary-color);
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.author {
    color: var(--primary-color);
    font-weight: bold;
}

.carousel-controls {
    margin-top: 1rem;
}

.control {
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0 10px;
    color: #555;
    transition: 0.3s;
}

.control:hover {
    color: var(--primary-color);
}

/* Shop */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border: 1px solid #333;
    transition: 0.3s;
}

.product-card:hover {
    border-color: var(--primary-color);
}

.product-img {
    height: 150px;
    background-color: #222;
    margin-bottom: 1rem;
    /* Placeholder fallback */
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
}

.btn-small {
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: 0.3s;
}

.btn-small:hover {
    background: var(--primary-color);
    color: #000;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    text-align: left;
    padding: 1.5rem;
    background: #151515;
    border-left: 2px solid var(--primary-color);
}

.blog-card .date {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

/* Loyalty */
.loyalty {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/hero.png') no-repeat center center/cover;
    padding: 6rem 5%;
}

.loyalty-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border: 1px solid var(--primary-color);
}

.loyalty-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.loyalty-form input {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: 1px solid #555;
    color: #fff;
}

.loyalty-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    padding: 2rem 5%;
    background-color: #000;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    nav ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about {
        flex-direction: column;
    }
}