/* The Cortice Hair Salon - Main Stylesheet */

/* CSS Variables */
:root {
    --primary-color: #000;
    --secondary-color: #333;
    --accent-color: #c9a962;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --bg-dark: #1a1a1a;
    --white: #fff;
    --border-color: #e0e0e0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Prompt', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

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

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo-section {
    text-align: center;
    flex: 1;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-style: italic;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.logo .tagline {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--text-light);
    margin-top: -5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.line-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #00B900;
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
}

.line-btn:hover {
    background: #009900;
}

.line-btn i {
    font-size: 1.2rem;
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
    position: relative;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 15px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.nav-menu > li:first-child > a {
    border-left: 1px solid rgba(255,255,255,0.1);
}

.nav-menu > li:hover > a,
.nav-menu > li.active > a {
    background: rgba(255,255,255,0.1);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

/* Social Icons in Nav */
.social-icons {
    display: flex;
    gap: 12px;
    padding: 10px 0;
}

.social-icons a {
    color: var(--white);
    font-size: 1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
}

.welcome-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 600;
    letter-spacing: 10px;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.tagline-th {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* About Section */
.about-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.location-text {
    font-size: 1rem;
    color: var(--text-light);
}

/* Section Title */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

/* Contact Info */
.contact-info {
    padding: 60px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent-color);
}

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

/* Map Section */
.map-section {
    padding: 60px 0;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
}

/* Social Booking Section */
.social-booking {
    padding: 60px 0;
    background: var(--bg-light);
}

.booking-info {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.booking-info h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 25px;
}

.booking-info p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.app-buttons img {
    height: 50px;
}

.line-booking {
    margin-top: 30px;
}

.line-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: #00B900;
    color: var(--white);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.line-btn-large:hover {
    background: #009900;
    transform: scale(1.05);
}

.line-btn-large i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    list-style: none;
}

.footer-nav a {
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--white);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.footer-contact {
    text-align: center;
}

.footer-contact p {
    margin: 10px 0;
    font-size: 1rem;
}

.footer-contact a {
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* Footer Blog Links */
.footer-blog-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-blog-links p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-blog-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
}

.footer-blog-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-blog-links a:hover {
    color: var(--accent-color);
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.phone {
    background: #28a745;
}

.float-btn.line {
    background: #00B900;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu > li > a {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu > li:first-child > a {
        border-left: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        color: var(--white);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .social-icons {
        display: none;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .brand-name {
        font-size: 3rem;
    }
    
    .welcome-text {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .brand-name {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-nav ul {
        gap: 15px;
    }
    
    .footer-nav a {
        font-size: 0.8rem;
    }
}

/* Page Hero (for subpages) */
.page-hero {
    padding: 100px 0;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-box {
    background: var(--white);
    padding: 40px 80px;
    display: inline-block;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-style: italic;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 5px;
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.category-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    font-size: 1.3rem;
    text-align: center;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.review-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.review-source {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.review-card h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-more {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Team Page */
.team-section {
    padding: 80px 0;
    text-align: center;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 60px;
}

.team-intro h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-style: italic;
    margin-bottom: 30px;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Booking Page */
.booking-section {
    padding: 80px 0;
    text-align: center;
}

.booking-content {
    max-width: 700px;
    margin: 0 auto;
}

.booking-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 30px;
}

.booking-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Services Page */
.services-page {
    padding: 80px 0;
}

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

.services-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-style: italic;
    margin-bottom: 20px;
}

.services-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.8;
}

.service-category {
    margin-bottom: 50px;
}

.service-category h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.price-list {
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 1px solid var(--border-color);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item span:first-child {
    font-weight: 500;
}

.price-item span:last-child {
    color: var(--accent-color);
    font-weight: 600;
}

/* About Page */
.about-page {
    padding: 80px 0;
}

.about-content-page {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content-page h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-content-page p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Blog Page */
.blog-section {
    padding: 80px 0;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.blog-categories a {
    padding: 10px 20px;
    background: var(--bg-light);
    border-radius: 25px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.blog-categories a:hover,
.blog-categories a.active {
    background: var(--primary-color);
    color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

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

/* Blog Post Page */
.blog-post {
    padding: 60px 0;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-post-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content img {
    width: 100%;
    border-radius: 10px;
    margin: 30px 0;
}

.blog-post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.blog-post-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-post-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.data-table th,
.data-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 500;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: var(--bg-light);
}

/* Print Styles */
@media print {
    .header,
    .floating-contact,
    .footer {
        display: none;
    }
    
    .hero {
        height: auto;
        min-height: auto;
    }
    
    .hero-overlay {
        position: static;
        background: none;
    }
    
    .hero-content {
        color: var(--text-color);
    }
}

/* Additional Responsive */
@media (max-width: 1024px) {
    .categories-grid,
    .reviews-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0;
        min-height: 300px;
    }
    
    .event-box {
        padding: 25px 50px;
    }
    
    .event-title {
        font-size: 2.5rem;
    }
    
    .categories-grid,
    .reviews-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .team-intro h2,
    .services-header h2 {
        font-size: 2rem;
    }
    
    .booking-content h2 {
        font-size: 1.8rem;
    }
    
    .blog-post-header h1 {
        font-size: 1.8rem;
    }
}
