/* 
    Raul's Barbershop - Premium Dark Luxury Theme
    Color Palette: Terracotta, Sand, Deep Charcoal
*/

:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-light: #252525;
    
    /* Terracotta & Sand Accents */
    --accent-primary: #c05c43; /* Terracotta */
    --accent-secondary: #e6c288; /* Muted Sand/Gold */
    --text-main: #f5f5f5;
    --text-muted: #a8a29e;
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* --- Typography Helpers --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--accent-secondary);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
    border: 2px solid var(--accent-primary);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--accent-secondary);
    border: 2px solid var(--accent-secondary);
}

.btn-outline:hover {
    background-color: var(--accent-secondary);
    color: var(--bg-dark);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(192, 92, 67, 0.2);
    padding: 20px 0;
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
}

.logo .accent {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--accent-secondary);
}

.btn-nav {
    background: var(--accent-secondary);
    color: var(--bg-dark) !important;
    padding: 10px 20px;
    border-radius: 2px;
    font-weight: 700;
}

.btn-nav:hover {
    background: var(--accent-primary);
    color: white !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-main);
}

.mobile-link:hover {
    color: var(--accent-primary);
}

.cta-mobile {
    color: var(--accent-secondary);
    font-size: 1.5rem;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 3rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #2a2a2a 0%, var(--bg-dark) 60%);
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-subtitle {
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--accent-secondary);
    font-style: italic;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-primary);
    z-index: -1;
}

.floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--bg-card);
    padding: 20px 30px;
    border-left: 4px solid var(--accent-secondary);
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.floating-card p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--accent-secondary);
}

/* --- About Section --- */
.about {
    background-color: var(--bg-card);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-main);
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.features-list svg {
    color: var(--accent-secondary);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--accent-primary);
}

/* --- Services Section --- */
.services {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(192, 92, 67, 0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(230, 194, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent-secondary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.centered-cta {
    text-align: center;
}

/* --- Gallery Section --- */
.gallery {
    background-color: var(--bg-card);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

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

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

.item-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.item-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.item-3 { grid-column: 3 / 4; grid-row: 1 / 2; }
.item-4 { grid-column: 4 / 5; grid-row: 1 / 3; }

/* --- Contact Section --- */
.contact {
    background: linear-gradient(to bottom, var(--bg-dark), #0a0a0a);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--bg-card);
    padding: 60px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(192, 92, 67, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.info-item h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--accent-secondary);
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Form */
.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-light);
    border: 1px solid #333;
    color: var(--text-main);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.full-width {
    width: 100%;
}

.form-message {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--accent-secondary);
}

/* --- Footer --- */
.footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid #222;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--accent-secondary);
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
}

.phone a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero-container { gap: 40px; }
    .about-container { gap: 40px; }
    .contact-wrapper { padding: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 60px;
    }
    
    .hero p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    
    .hero-image { order: -1; margin-bottom: 30px; }
    .floating-card { left: 0; bottom: 20px; }
    
    .about-container { grid-template-columns: 1fr; }
    .about-image { order: -1; margin-bottom: 30px; }
    .about-image img { box-shadow: 10px 10px 0 var(--accent-primary); }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .item-1, .item-4 { grid-row: auto; }
    
    .contact-wrapper { grid-template-columns: 1fr; }
    
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 2rem; }
    .btn { width: 100%; text-align: center; }
    .hero-btns { flex-direction: column; width: 100%; }
}
