/*
  Sacre Bluu Salon - Version 3: Contemporary Grid Layout

  Color Palette (from style guide):
  - #66766c (muted sage green)
  - #b37b64 (earthy terracotta)
  - #a1a69f (sophisticated gray-green)
  - #dccfbf (creamy beige)
  - #f2f2f0 (subtle off-white)

  Typography: Hubballi (primary font)

  Layout Features:
  - Hero with split layout (text left, logo right)
  - Services in grid cards (compact, images above text)
  - Booking with side-by-side info
  - Team grid with hover effects
  - Opportunities in horizontal layout
  - Modern asymmetric spacing
  - Tighter, more compact layout
  - Less padding, more content visible
*/

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hubballi', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f2f2f0;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

.section-title {
    text-align: center;
    color: #66766c;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    text-align: center;
    color: #a1a69f;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: #b37b64;
    color: white;
}

.btn-primary:hover {
    background-color: #9a6854;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #66766c;
    border: 2px solid #66766c;
}

.btn-secondary:hover {
    background-color: #66766c;
    color: white;
}

.btn-book {
    background-color: #b37b64;
    color: #f2f2f0 !important;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
}

.btn-book:hover {
    background-color: #9a6854;
    color: white !important;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 20px;
}

.logo-img {
    height: 70px;
    width: auto;
}

.salon-name {
    font-size: 1.5rem;
    font-weight: 400;
    color: #b37b64;
    letter-spacing: 2px;
}

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

.nav-menu a {
    text-decoration: none;
    color: #66766c;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #b37b64;
}

/* ===== HERO SECTION - SPLIT LAYOUT ===== */
.hero {
    background: linear-gradient(135deg, #dccfbf 0%, #f2f2f0 100%);
    padding: 3rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    color: #66766c;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #a1a69f;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.hero-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* ===== CONTACT BAR ===== */
.contact-bar {
    background-color: #66766c;
    color: white;
    padding: 1.2rem 0;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.contact-item .icon {
    font-size: 1.2rem;
}

/* ===== SERVICES SECTION - GRID CARDS ===== */
.services {
    padding: 3.5rem 0;
    background-color: white;
}

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

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(102, 118, 108, 0.95), transparent);
    padding: 1.5rem;
}

.service-overlay h3 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
}

.service-content {
    padding: 1.5rem;
}

.service-list {
    list-style: none;
    color: #a1a69f;
}

.service-list li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #f2f2f0;
    font-size: 1rem;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li:before {
    content: "✓ ";
    color: #b37b64;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ===== BOOKING SECTION - SIDE BY SIDE ===== */
.booking-section {
    padding: 3.5rem 0;
    background-color: #f2f2f0;
}

.booking-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.booking-info h2 {
    color: #66766c;
    margin-bottom: 0.8rem;
}

.booking-subtitle {
    color: #a1a69f;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.booking-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    background-color: white;
    padding: 1.2rem;
    border-radius: 6px;
    border-left: 3px solid #b37b64;
}

.detail-item h4 {
    color: #66766c;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.detail-item p {
    color: #a1a69f;
    font-size: 1rem;
    line-height: 1.6;
}

.detail-item a {
    color: #b37b64;
}

.booking-widget {
    display: flex;
    align-items: center;
}

.booking-placeholder {
    background: linear-gradient(135deg, #66766c 0%, #a1a69f 100%);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    color: white;
}

.booking-placeholder p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.booking-placeholder .btn {
    margin-top: 1.5rem;
}

/* ===== TEAM SECTION - GRID WITH HOVER EFFECTS ===== */
.team {
    padding: 3.5rem 0;
    background-color: white;
}

.team-group-title {
    color: #b37b64;
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-group-title:first-of-type {
    margin-top: 1.5rem;
}

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

.team-card {
    background-color: #f2f2f0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.team-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.team-card:hover .team-photo img {
    transform: scale(1.08);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 118, 108, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.portfolio-link {
    background-color: #b37b64;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.portfolio-link:hover {
    background-color: #9a6854;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    color: #66766c;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.specialty {
    color: #b37b64;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.bio {
    color: #a1a69f;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== OPPORTUNITIES SECTION - HORIZONTAL LAYOUT ===== */
.opportunities {
    padding: 3.5rem 0;
    background-color: #f2f2f0;
}

.opportunities-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.opportunity-featured {
    background: linear-gradient(135deg, #dccfbf 0%, #f2f2f0 100%);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.opportunity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.opportunity-featured h3 {
    color: #66766c;
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
}

.opportunity-highlight {
    color: #b37b64;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.opportunity-featured p {
    color: #a1a69f;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.opportunity-details {
    list-style: none;
    background-color: rgba(255,255,255,0.5);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.opportunity-details li {
    color: #66766c;
    padding: 0.4rem 0;
    font-size: 1rem;
}

.opportunity-details li:before {
    content: "✓ ";
    color: #b37b64;
    font-weight: bold;
    margin-right: 0.5rem;
}

.opportunities-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.opportunity-compact {
    background-color: white;
    padding: 1.8rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.opportunity-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.opportunity-compact h4 {
    color: #66766c;
    margin-bottom: 0.8rem;
}

.opportunity-compact p {
    color: #a1a69f;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== POLICIES SECTION ===== */
.policies-section {
    padding: 3.5rem 0;
    background-color: white;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.policy-card {
    background-color: #f2f2f0;
    padding: 1.8rem;
    border-radius: 8px;
    border-top: 4px solid #b37b64;
    transition: transform 0.3s, box-shadow 0.3s;
}

.policy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.policy-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.policy-card h3 {
    color: #66766c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.policy-card p {
    color: #a1a69f;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.policy-card p strong {
    color: #b37b64;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 3.5rem 0;
    background-color: #f2f2f0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.contact-details h3 {
    color: #66766c;
    margin: 1.8rem 0 0.8rem;
    font-size: 1.5rem;
}

.contact-details h3:first-child {
    margin-top: 0;
}

.contact-details p {
    color: #a1a69f;
    line-height: 1.7;
    font-size: 1rem;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    background-color: #b37b64;
    color: white;
    padding: 0.7rem 1.3rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.social-links a:hover {
    background-color: #9a6854;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #66766c;
    color: white;
    padding: 2.5rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 0.8rem;
    color: #dccfbf;
    font-size: 1.2rem;
}

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

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

.footer-section a {
    color: #f2f2f0;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

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

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid #a1a69f;
    padding-top: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    color: #dccfbf;
    font-size: 0.95rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-logo-img {
        max-height: 200px;
    }

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

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

    .opportunities-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .contact-info {
        flex-direction: column;
        text-align: center;
    }

    .services,
    .team,
    .opportunities,
    .booking-section,
    .contact,
    .policies-section {
        padding: 2.5rem 0;
    }

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

/* Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }

    .logo-img {
        height: 60px;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .hero-logo-img {
        max-height: 150px;
    }

    .booking-placeholder,
    .opportunity-featured,
    .opportunity-compact {
        padding: 1.5rem;
    }
}
