/* Theme Colors (from original site) */
:root {
    --theme-color-1: rgb(102, 122, 1);
    --theme-color-1-rgbv: 102,122,1;
    --theme-color-1-dark: rgb(81, 97, 0);
    --theme-color-1-light: rgb(132, 148, 51);
    --theme-color-2: rgb(255, 255, 255);
    --theme-color-2-rgbv: 255,255,255;
    --theme-color-2-dark: rgb(204, 204, 204);
    --theme-color-3: rgb(116, 117, 117);
    --theme-color-3-rgbv: 116,117,117;
    --theme-color-3-dark: rgb(92, 93, 93);
    --theme-color-3-light: rgb(143, 144, 144);
    --theme-color-4: rgb(29, 29, 31);
    --theme-color-5: rgb(255, 240, 240);
    --theme-color-6: rgb(102, 122, 1);
    
    /* Primary brand color (green) */
    --primary-color: var(--theme-color-1);
    --primary-dark: var(--theme-color-1-dark);
    --primary-light: var(--theme-color-1-light);
    
    /* Text colors */
    --text-primary: var(--theme-color-4);
    --text-secondary: var(--theme-color-3);
    --text-light: var(--theme-color-2);
    
    /* Background colors */
    --bg-primary: var(--theme-color-2);
    --bg-secondary: var(--theme-color-5);
    --bg-dark: var(--theme-color-4);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Header/Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 600px;
    color: white;
    margin: 0 auto; /* center the hero text block */
    text-align: center; /* center titles, buttons and social icons */
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center; /* center the CTA buttons under the hero text */
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

.service-card {
    background: var(--bg-primary);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(102, 122, 1, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    background: var(--bg-primary);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--text-light);
    font-size: 28px;
    position: relative;
    box-shadow: 0 4px 15px rgba(102, 122, 1, 0.3);
}

.icon-foot::before {
    content: "🦶";
    font-size: 24px;
}

.icon-pediatric::before {
    content: "👶";
    font-size: 20px;
}

.icon-nail::before {
    content: "💅";
    font-size: 20px;
}

.icon-flat::before {
    content: "👟";
    font-size: 20px;
}

.icon-diabetic::before {
    content: "💊";
    font-size: 20px;
}

.icon-wound::before {
    content: "🩹";
    font-size: 20px;
}

.icon-custom::before {
    content: "👡";
    font-size: 20px;
}

.icon-podiatry::before {
    content: "⚕️";
    font-size: 20px;
}

.service-title {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.about-image {
    text-align: center;
}

.doctor-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-title {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-credentials {
    margin-top: 2rem;
}

.credential {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.credential strong {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 20px;
    margin-right: 20px;
}

.contact-details h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.hours {
    margin-top: 0.5rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    padding: 0.2rem 0;
}

.day {
    font-weight: 600;
    color: var(--text-primary);
}

.time {
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--theme-color-2-dark);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-logo .logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--theme-color-2-dark);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--theme-color-2-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--text-secondary);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--theme-color-2-dark);
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal a {
    color: var(--theme-color-2-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* Insurance Section */
.insurance {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.insurance-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    justify-items: center;
    align-items: center;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.insurance-logo {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insurance-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.insurance-logo img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section Updates */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-social {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.hero-social .social-link {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px;
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.hero-social .social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Social Links Styling */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.yelp {
    background: #ff1a1a;
}

/* Mission Section */
.mission-section {
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.mission-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mission-cta {
    margin-top: 20px;
}

.social-connect {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.social-connect h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-right: 10px;
    }

    .nav-cta .btn {
        padding: 5px 10px;
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .services,
    .about,
    .contact {
        padding: 3rem 0;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Icon Styles - Simple CSS Icons */
.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    position: relative;
}

/* Icon Shapes using CSS */
.icon-foot::before {
    content: "🦶";
    font-size: 24px;
}

.icon-pediatric::before {
    content: "👶";
    font-size: 20px;
}

.icon-nail::before {
    content: "💅";
    font-size: 20px;
}

.icon-flat::before {
    content: "👟";
    font-size: 20px;
}

.icon-diabetic::before {
    content: "💊";
    font-size: 20px;
}

.icon-wound::before {
    content: "🩹";
    font-size: 20px;
}

.icon-custom::before {
    content: "👡";
    font-size: 20px;
}

.icon-podiatry::before {
    content: "⚕️";
    font-size: 20px;
}

/* Contact Icons */
.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 20px;
}

.icon-location::before {
    content: "📍";
}

.icon-phone::before {
    content: "📞";
}

.icon-clock::before {
    content: "🕐";
}

/* Social Icons */
.icon-facebook::before {
    content: "f";
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.icon-yelp::before {
    content: "Y";
    font-family: Arial, sans-serif;
    font-weight: bold;
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
}
