/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600;700&display=swap');

/* ===== RESET & VARIABLES ===== */
:root {
    --primary-color: #2C3E50; /* Dark Blue - Professional */
    --accent-color: #C0392B; /* Deep Red - Medical/Alert but elegant, or maybe Teal? Let's stick to user request "Elegant". A mute Gold or Teal is better. */
    --accent-color-2: #16A085; /* Teal */
    --bg-color: #ffffff;
    --text-color: #333333;
    --light-text: #666666;
    --border-color: #eeeeee;
    --white: #ffffff;
    --spacing-unit: 1rem;
    --container-width: 1100px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ===== LAYOUT & UTILITIES ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 2.5rem 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: inline-block;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===== HEADER ===== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color-2);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    position: relative;
}

.hero .container {
    padding-top: 0;
}

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

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ===== GLOBAL GRID LAYOUT ===== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* ===== ABOUT PREVIEW ===== */
/* Layout handled by global .grid-2 */

.about-image {
    background-color: #eaeaea;
    height: 500px;
    border-radius: 4px;
    /* Placeholder for actual image */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.about-text .btn, 
.about-text .btn-outline,
section .grid-2 .btn {
    margin-top: 2rem;
}

/* ===== WHAT PODOLOGISTS DO ===== */
.what-we-do {
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-color-2);
    margin-bottom: 1.5rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--accent-color-2);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item p, .contact-item a {
    color: var(--light-text);
    font-size: 1.1rem;
}

.whatsapp-btn {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    text-align: center;
    display: inline-flex; /* Changed from flex to inline-flex to respect content size */
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* max-width: 300px; Remove max-width to let padding control size */
    font-size: 0.9rem; /* Smaller font */
    padding: 0.8rem 2rem; /* Adjusted padding */
}

.whatsapp-btn:hover {
    background-color: #20bd5a;
    color: white;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

footer p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ===== PAGE HEADER (For subpages) ===== */
.page-header {
    background-color: #f0f2f5;
    padding: 2rem 0;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.page-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-header p {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero h1 { font-size: 3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        align-items: center;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn { display: block; }
    
    .hero { height: auto; padding: 6rem 0; }
    .hero h1 { font-size: 2.5rem; }
    
    /* Show "Instagram" text on mobile */
    .mobile-only {
        display: inline !important;
    }
}

.mobile-only {
    display: none;
}
