/* MyLadyDoc Professional Stylesheet */

/* CSS Variables for Brand Consistency */
:root {
    --primary-color: #e91e63;
    --primary-dark: #c2185b;
    --primary-light: #fce4ec;
    --secondary-color: #880e4f;
    --secondary-dark: #ad1457;
    --text-color: #333;
    --text-light: #666;
    --text-white: #fff;
    --background-white: #fff;
    --background-light: #f9f9f9;
    --background-dark: #333;
    --border-color: #eee;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-primary: 0 4px 15px rgba(233, 30, 99, 0.3);
    --shadow-primary-hover: 0 6px 20px rgba(233, 30, 99, 0.4);
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Prata', serif;
    --font-tertiary: 'Poppins', sans-serif;
    --border-radius-sm: 5px;
    --border-radius-md: 8px;
    --border-radius-lg: 15px;
    --border-radius-full: 50px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    --container-max-width: 1200px;
    --logo-max-width: 70px;
    --logo-padding: 0;
}

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

/* CSS Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.hero h1 {
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero p {
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.hero .cta-button {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.service-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

/* Body and Layout */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-white);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header Container */
.header-container {
    background: var(--background-white);
    box-shadow: var(--shadow-light);
    overflow: visible;
    position: relative;
    z-index: 1000;
}

.header-container .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
}

/* Main Content */
main {
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    padding: var(--logo-padding);
}

.logo img {
    max-width: var(--logo-max-width);
    height: auto;
    display: block;
}

/* Header Contact */
.header-contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.header-cta {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.5rem var(--spacing-md);
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}

.header-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute !important;
    top: 100%;
    left: 0;
    background: var(--background-white);
    box-shadow: var(--shadow-medium);
    min-width: 280px;
    display: none !important;
    visibility: hidden;
    opacity: 0;
    z-index: 1001;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--primary-light);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu-content {
    position: absolute !important;
    left: 100%;
    top: 0;
    background: var(--background-white);
    box-shadow: var(--shadow-medium);
    min-width: 280px;
    display: none !important;
    visibility: hidden;
    opacity: 0;
    z-index: 1002;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-submenu:hover .dropdown-submenu-content {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

.dropdown-submenu-content a:hover {
    background: var(--primary-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f8bbd9 100%);
    padding: var(--spacing-xxl) var(--spacing-lg);
    min-height: 500px;
}

/* Content Section */
.content-section {
    padding: var(--spacing-xxl) var(--spacing-lg);
    background: var(--background-white);
}

.content-section h2 {
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.hero-text h1 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 1.3rem;
    color: var(--secondary-dark);
    margin-bottom: var(--spacing-sm);
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    margin-top: var(--spacing-md);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-hover);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

/* Content Section */
.content-section {
    padding: 4rem 2rem;
    background: white;
}

.content-section h2 {
    text-align: center;
    font-family: 'Prata', serif;
    font-size: 2.2rem;
    color: #880e4f;
    margin-bottom: 0.5rem;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #e91e63;
}

.service-card a:hover {
    color: #c2185b;
}

.service-card img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #880e4f;
    margin-bottom: 0.5rem;
}

.service-card a {
    color: #e91e63;
    text-decoration: none;
    font-weight: 600;
}

/* About Section */
.about-preview {
    padding: var(--spacing-xxl) var(--spacing-lg);
    background: var(--primary-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.about-text h2 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.about-text h3 {
    color: var(--secondary-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

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

.about-highlights li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 1rem;
}

.secondary-button {
    display: inline-block;
    background: white;
    color: #e91e63;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid #e91e63;
    transition: all 0.3s;
}

.secondary-button:hover {
    background: #e91e63;
    color: white;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Contact CTA */
.contact-cta {
    padding: 4rem 2rem;
    background: #880e4f;
    color: white;
}

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

.contact-box h2 {
    font-family: 'Prata', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-info {
    margin: 2rem 0;
}

.contact-item {
    margin: 1rem 0;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 3rem 2rem 1rem;
}

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

.footer-section img {
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #fce4ec;
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
}

.footer-section a:hover {
    color: white;
}

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

.social-links a {
    padding: 0.5rem 1rem;
    background: #e91e63;
    color: white;
    border-radius: 5px;
}

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

/* Contact Form */
.contact-form-section {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.contact-form-section h2 {
    text-align: center;
    font-family: 'Prata', serif;
    font-size: 2rem;
    color: #880e4f;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e91e63;
}

.submit-button {
    background: #e91e63;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.submit-button:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container .container {
        flex-wrap: wrap;
        gap: 1rem;
        max-height: none;
    }
    
    .header-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }
    
    .dropdown-submenu-content {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }
}
