/* ===================================
   P & H Beauty & Supply - Styles
   =================================== */

/* CSS Custom Properties */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --pink-50: #fdf2f8;
    --pink-100: #fce7f3;
    --pink-200: #fbcfe8;
    --pink-300: #f9a8d4;
    
    --lavender-50: #faf5ff;
    --lavender-100: #f3e8ff;
    
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    --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 -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-800);
    background-color: #ffffff;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--slate-900);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-600) 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
    background: linear-gradient(135deg, var(--teal-400) 0%, var(--teal-500) 100%);
}

.btn-secondary {
    background: #ffffff;
    color: var(--teal-700);
    border: 2px solid var(--teal-200);
}

.btn-secondary:hover {
    background: var(--teal-50);
    border-color: var(--teal-400);
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--pink-50) 100%);
    color: var(--teal-700);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
    color: var(--slate-900);
}

.section-subtitle {
    font-size: 17px;
    color: var(--slate-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-100);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--teal-500) 0%, var(--teal-600) 100%);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    color: var(--slate-800);
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--slate-600);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--teal-600);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 20px;
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--teal-50) 0%, #ffffff 50%, var(--pink-50) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(244, 114, 182, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--teal-700);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--teal-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-headline {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(13, 148, 136, 0.3) 100%);
    border-radius: var(--radius-xl);
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.float-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--pink-50) 100%);
    border-radius: var(--radius-sm);
    color: var(--teal-600);
}

.float-card-info {
    display: flex;
    flex-direction: column;
}

.float-card-number {
    font-size: 16px;
    font-weight: 600;
    color: var(--slate-900);
}

.float-card-label {
    font-size: 13px;
    color: var(--slate-500);
}

.float-card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 25%;
    left: -40px;
    animation-delay: 2s;
}

.float-card-3 {
    bottom: 10%;
    right: -20px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Decorative Elements */
.hero-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.decor-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.decor-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.1) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

.decor-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(250, 245, 255, 0.5) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 100px 0;
    background: #ffffff;
}

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

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text {
    max-width: 480px;
}

.about-lead {
    font-size: 18px;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-500);
    flex-shrink: 0;
}

.about-feature span {
    font-size: 14px;
    color: var(--slate-700);
    font-weight: 500;
}

/* ===================================
   Products Section
   =================================== */
.products {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--slate-50) 0%, #ffffff 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--slate-100);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal-200);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 50px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.6;
}

.products-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--pink-50) 100%);
    border-radius: var(--radius-xl);
}

.products-cta p {
    font-size: 18px;
    color: var(--slate-700);
    margin-bottom: 20px;
    font-weight: 500;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 100px 0;
    background: #ffffff;
}

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

.service-card {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--lavender-50) 100%);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-200);
    background: #ffffff;
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: var(--radius-md);
    color: var(--teal-600);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    color: #ffffff;
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, #ffffff 0%, var(--teal-50) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--pink-50) 100%);
    border-radius: var(--radius-sm);
    color: var(--teal-600);
    flex-shrink: 0;
}

.contact-details h3 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 4px;
}

.contact-details p {
    font-size: 15px;
    color: var(--slate-500);
    line-height: 1.6;
}

.contact-details a {
    color: var(--teal-600);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--teal-700);
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 350px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

/* Contact CTA */
.contact-cta {
    max-width: 800px;
    margin: 0 auto;
}

.cta-card {
    text-align: center;
    padding: 48px;
    background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 100%);
    border-radius: var(--radius-xl);
    color: #ffffff;
}

.cta-card h3 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 12px;
}

.cta-card p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 28px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: #ffffff;
    color: var(--teal-700);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 60px 0 0;
    background: var(--slate-900);
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: #ffffff;
}

.footer-brand p {
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--slate-400);
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-contact p {
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 4px;
}

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

.footer-contact a:hover {
    color: var(--teal-300);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--slate-500);
    line-height: 1.8;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .float-card-1 {
        left: 0;
    }
    
    .float-card-2 {
        left: -20px;
    }
    
    .float-card-3 {
        right: 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--slate-100);
    }
    
    .nav-links.active a {
        padding: 12px 0;
        font-size: 16px;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero-image-card img {
        height: 500px;
    }
    
    .float-card {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-headline {
        font-size: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .products-cta {
        padding: 24px;
    }
    
    .cta-card {
        padding: 32px 24px;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}
