/* Laundry Dream Team - Main Styles */
/* Colors: Teal (#00FFFF), Purple (#A020F0), Black (#000000) */

:root {
    --primary-teal: #00FFFF;
    --primary-purple: #A020F0;
    --primary-black: #000000;
    --light-teal: #E0FFFF;
    --light-purple: #F0E6FF;
    --dark-teal: #008B8B;
    --dark-purple: #800080;
    --white: #FFFFFF;
    --light-gray: #E8D5FF;
    --medium-gray: #B68CFF;
    --dark-gray: #2A1A3D;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--primary-black);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--white);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--light-gray);
}

a {
    text-decoration: none;
    color: var(--primary-teal);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-teal);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-purple));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
}

.btn-outline:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background: linear-gradient(rgba(42, 26, 61, 0.9), rgba(42, 26, 61, 0.95)), 
                url('images/header/Photoroom_20250929_002908.PNG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-logo {
    position: relative;
    z-index: 10;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.nav-logo h2 {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 0 0 20px var(--primary-teal), 0 0 40px rgba(0, 255, 255, 0.5);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.nav-tagline {
    font-size: 0.8rem;
    color: var(--white);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-teal);
    background: var(--light-teal);
}

.nav-link.btn-primary {
    color: var(--white);
}

.nav-link.active {
    background: var(--primary-teal);
    color: var(--white);
}

.admin-link {
    color: var(--primary-purple) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-black);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                url('https://images.unsplash.com/photo-1558618047-3c8c76ca7d13?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    margin-top: 80px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 20px var(--primary-teal), 0 0 40px var(--primary-teal);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--primary-teal);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--dark-teal), var(--light-purple));
    padding: 12px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 15px var(--shadow);
    font-weight: 500;
    color: var(--white);
}

.feature-icon {
    font-size: 1.2rem;
}

.hero-cta {
    margin-bottom: 2rem;
}

.promo-text {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--primary-purple);
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info p {
    margin: 0;
    font-size: 0.9rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
}

.hero-visual-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--dark-teal), var(--primary-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.washing-machine-visual {
    width: 200px;
    height: 200px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.machine-door {
    width: 120px;
    height: 120px;
    border: 8px solid #333;
    border-radius: 50%;
    position: absolute;
    top: 30px;
    left: 40px;
    background: radial-gradient(circle, #87ceeb, #4682b4);
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
}

.machine-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-teal), var(--dark-teal));
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    text-align: center;
    color: var(--white);
}

.hero-overlay .hero-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-overlay p {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Photo Loading Styles */
.hero-photo-loaded {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.footer-photo-loaded {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-teal);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Photo animations */
@keyframes fadeInPhoto {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-placeholder {
    background: linear-gradient(135deg, var(--dark-teal), var(--light-purple));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    width: 100%;
    max-width: 400px;
    color: var(--white);
}

.hero-placeholder span {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.hero-placeholder p {
    font-weight: 600;
    color: var(--primary-black);
    margin: 0;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--primary-black);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--dark-teal), var(--light-purple));
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--white);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.feature-card .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--white);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: linear-gradient(135deg, var(--dark-teal), var(--light-purple));
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
    color: var(--white);
}

.pricing-card.featured {
    border: 3px solid var(--primary-teal);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-purple));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1.2rem;
    color: var(--white);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Call to Action */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-purple));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-teal);
}

.cta .btn-primary:hover {
    background: var(--light-gray);
    color: var(--primary-teal);
}

.cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-outline:hover {
    background: var(--white);
    color: var(--primary-teal);
}

/* Footer */
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), 
                url('https://images.unsplash.com/photo-1628177142898-93e36e4e3a50?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
                rgba(0, 255, 255, 0.1) 0%, 
                transparent 20%, 
                transparent 80%, 
                rgba(160, 32, 240, 0.1) 100%);
    pointer-events: none;
}

.footer-header {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-decorative {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-visual {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detergent-bottle {
    width: 40px;
    height: 80px;
    background: linear-gradient(180deg, var(--primary-teal), var(--dark-teal));
    border-radius: 8px 8px 12px 12px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.bottle-cap {
    width: 30px;
    height: 15px;
    background: var(--primary-purple);
    border-radius: 4px 4px 0 0;
    position: absolute;
    top: -8px;
    left: 5px;
    box-shadow: 0 2px 5px rgba(160, 32, 240, 0.4);
}

.bottle-label {
    width: 25px;
    height: 20px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 25px;
    left: 7.5px;
    opacity: 0.9;
}

.towel-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.towel {
    width: 60px;
    height: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.towel-teal {
    background: var(--primary-teal);
    box-shadow: 0 2px 8px rgba(0, 255, 255, 0.4);
}

.towel-purple {
    background: var(--primary-purple);
    box-shadow: 0 2px 8px rgba(160, 32, 240, 0.4);
}

.towel-white {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.footer-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-teal);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.footer-tagline h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    text-shadow: 0 0 15px var(--primary-teal);
}

.footer-tagline p {
    color: var(--light-gray);
    font-style: italic;
    margin: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-teal);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    padding-top: 1rem;
    text-align: center;
    color: var(--light-gray);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.footer-bottom a {
    color: var(--primary-teal);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-teal);
    outline: none;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-teal);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}