/* Hair Extensions Site - Standalone Styles */

/* CSS Variables */
:root {
    --primary-color: #7c3aed;
    --primary-dark: #5b21b6;
    --secondary-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

/* Logo image styling to match main site */
.nav-logo-link {
    display: inline-flex;
    align-items: center;
}

.nav-logo img {
    height: 70px;
    width: auto;
    display: inline-block;
    margin-top: 7px;
    margin-left: 0;
}

@media (max-width: 768px) {
    .nav-logo img {
        height: 56px;
    }
}

@media (min-width: 1025px) {
    .navbar .nav-container {
        max-width: 100%;
    }
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Project Header */
.project-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.project-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-info h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.project-meta {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    opacity: 0.9;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.meta-item i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.project-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 300px;
    background: #f0f0f0; /* Temporary background to see the container */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #333; /* Temporary background to see the video container */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block; /* Ensure video is displayed */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    border-radius: 16px;
}

.project-mockup {
    width: 300px;
    height: 200px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Project Overview */
.project-overview {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
}

.overview-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.overview-content h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1.5rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 1rem;
}

.overview-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.feature-list li:hover {
    background: rgba(124, 58, 237, 0.05);
    color: var(--text-primary);
    transform: translateX(8px);
}

.feature-list i {
    color: var(--primary-color);
    font-size: 1.1rem;
    background: rgba(124, 58, 237, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    min-height: auto;
}

.stat-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.2;
}

/* Technology Stack */
.tech-stack {
    padding: 6rem 0;
    background: white;
}

.tech-stack h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.tech-stack h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.tech-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tech-item:hover::before {
    transform: scaleX(1);
}

.tech-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tech-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.tech-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Project Gallery */
.project-gallery {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.project-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.gallery-item {
    aspect-ratio: 16/10;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.gallery-placeholder small {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Project Results */
.project-results {
    padding: 6rem 0;
    background: white;
}

.project-results h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.result-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.result-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.result-item p {
    color: var(--text-secondary);
}

/* Call to Action */
.project-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

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

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

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

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

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

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .container {
        padding: 0 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .project-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .project-info h1 {
        font-size: 2rem;
    }
    
    .project-subtitle {
        font-size: 1rem;
    }
    
    .project-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .project-mockup {
        width: 250px;
        height: 150px;
        margin: 0 auto;
        font-size: 1.5rem;
    }
    
    .video-background video {
        border-radius: 12px;
    }
    
    .video-overlay {
        border-radius: 12px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 1.5rem 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .stat-item {
        padding: 1rem;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .stat-item h3 {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }
    
    .stat-item p {
        font-size: 0.85rem;
        line-height: 1.3;
        margin: 0;
        font-weight: 500;
    }
    
    .overview-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* iPhone 12 Pro and similar devices optimization */
@media (max-width: 428px) and (min-width: 375px) {
    .stat-item {
        padding: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .project-header {
        padding: 6rem 0 3rem;
    }
    
    .project-info h1 {
        font-size: 1.8rem;
    }
    
    .project-subtitle {
        font-size: 0.9rem;
    }
    
    .project-mockup {
        width: 200px;
        height: 120px;
        font-size: 1.2rem;
    }
    
    .video-background video {
        border-radius: 8px;
    }
    
    .video-overlay {
        border-radius: 8px;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin: 1rem 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .stat-item {
        padding: 0.75rem;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .stat-item h3 {
        font-size: 1.2rem;
        line-height: 1.2;
        margin-bottom: 0.4rem;
        font-weight: 700;
    }
    
    .stat-item p {
        font-size: 0.75rem;
        line-height: 1.3;
        margin: 0;
        font-weight: 500;
    }
    
    .overview-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-item i {
        font-size: 2rem;
    }
}
