/**
 * Theme Name: Astra Child
 * Theme URI: https://wpastra.com/
 * Template: astra
 * Description: Child theme for Advance Skin Clinic - Custom landing page for Dr. N. Singh
 * Author: Custom
 * Author URI: https://advanceskinclinic.online
 * Version: 1.0.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: astra-child
 */

/* Hide Sample Page and default page titles */
.page .entry-header,
.single .entry-header,
.ast-single-post .entry-header {
    display: none;
}

.doctor-landing-page .entry-header {
    display: none;
}

/* Doctor Landing Page Styles */
.doctor-landing-page {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.doctor-landing-page .container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Ensure parent containers are centered */
.site-content,
.content-area,
#primary,
#main,
.ast-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Override any sidebar layouts */
.doctor-landing-page .site-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.doctor-landing-page .content-area {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Ensure entry content is centered */
.doctor-landing-page .entry-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Force center alignment for all sections */
.doctor-landing-page section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.doctor-landing-page section .container {
    flex: 0 0 auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.doctor-profile-image {
    margin-bottom: 30px;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8em;
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8em;
    margin: 0 0 25px 0;
    font-weight: 500;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.2em;
    margin: 0 0 35px 0;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-contact {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-location {
    font-size: 1.1em;
    margin: 20px 0;
}

.book-slot-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 18px 40px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-top: 20px;
    display: inline-block;
}

.book-slot-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.book-slot-btn:active {
    transform: translateY(-1px);
}

/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #667eea, transparent);
    margin: 50px auto;
    max-width: 200px;
}

/* Section Titles */
.section-title {
    font-size: 2.5em;
    margin: 0 0 30px 0;
    text-align: center;
    color: #667eea;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.5em;
    margin: 0 0 20px 0;
    text-align: center;
    color: #555;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
    text-align: left;
}

.doctor-name-title {
    font-size: 1.8em;
    margin: 0 0 25px 0;
    text-align: center;
    color: #667eea;
    font-weight: 600;
}

.about-content p {
    margin-bottom: 20px;
}

/* Specialities Section */
.specialities-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.intro-text {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.specialities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.speciality-category {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speciality-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.category-title {
    font-size: 1.4em;
    margin: 0 0 20px 0;
    color: #667eea;
    font-weight: 600;
}

.condition-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.condition-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.condition-list li:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.features-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.checkmark {
    color: #667eea;
    font-size: 1.5em;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item span:last-child {
    font-size: 1.05em;
    color: #555;
}

/* Consultation Timings Section */
.timings-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.timings-content {
    max-width: 600px;
    margin: 0 auto;
}

.timings-icon {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #667eea;
}

.timings-text {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
}

.timings-note {
    font-size: 1.1em;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* Clinic Address Section */
.address-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.address-content {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
}

.address-icon {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #667eea;
    font-weight: 600;
}

.address-content p {
    margin: 8px 0;
    color: #555;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5em;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.cta-description {
    font-size: 1.2em;
    margin: 0 0 40px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 18px 35px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cta-location {
    font-size: 1.1em;
    margin-top: 30px;
    opacity: 0.9;
}

/* Phone Modal */
.phone-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.phone-modal-content {
    background-color: white;
    margin: auto;
    padding: 40px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    animation: slideDown 0.3s;
}

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

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

.phone-modal-close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    line-height: 1;
}

.phone-modal-close:hover {
    color: #667eea;
}

.phone-modal-content h3 {
    margin: 0 0 30px 0;
    color: #667eea;
    font-size: 1.8em;
    text-align: center;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.3em;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.phone-icon {
    font-size: 1.5em;
}

.phone-number {
    letter-spacing: 1px;
}

.phone-note {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin: 0;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1.4em;
    }
    
    .hero-description {
        font-size: 1.1em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .specialities-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .profile-img {
        width: 150px;
        height: 150px;
    }
    
    .phone-modal-content {
        padding: 30px 20px;
    }
    
    .phone-link {
        font-size: 1.1em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0 60px 0;
    }
    
    .hero-title {
        font-size: 1.6em;
    }
    
    .hero-subtitle {
        font-size: 1.2em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .cta-title {
        font-size: 1.6em;
    }
    
    .cta-description {
        font-size: 1em;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
    
    .book-slot-btn {
        padding: 15px 30px;
        font-size: 1em;
    }
}
