/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* CSS Variables for theming */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --border-color: #e1e5e9;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-primary: #8b9eff;
    --accent-secondary: #a78bfa;
    --border-color: #404040;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --card-bg: #2d2d2d;
    --nav-bg: rgba(26, 26, 26, 0.95);
}

/* Base styles using CSS variables */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.25rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px var(--shadow-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.nav-name-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-name-link:hover {
    color: var(--accent-secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hamburger Menu - Dark mode compatible */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section - Dark mode compatible */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    transition: background 0.3s ease;
}

/* Dark mode hero gradient */
[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #2d1b69 0%, #1a1033 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* CTA Button - Dark mode compatible */
.cta-button {
    display: inline-block;
    background: var(--bg-primary);
    color: var(--accent-primary);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: var(--text-primary);
    color: var(--bg-primary);
}

/* Dark mode CTA button */
[data-theme="dark"] .cta-button {
    background: #ffffff;
    color: #2d1b69;
}

[data-theme="dark"] .cta-button:hover {
    background: #f0f0f0;
    color: #1a1033;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-top: 40px;
}

.logo-image {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-primary);
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Focus Areas */
.focus-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.focus-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.focus-item:hover {
    transform: translateY(-5px);
}

.focus-item h3 {
    color: var(--accent-primary);
    font-size: 1.3rem;
}

/* Booking Section */
.booking {
    background: var(--bg-secondary);
}

.booking-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calendly-inline-widget {
    margin: 0 auto;
    max-width: 800px;
}

/* Contact Section */
.contact-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

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

.email-link {
    display: block;
    text-align: center;
    color: #667eea;
    font-size: 1.2rem;
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: 500;
}

.email-link:hover {
    text-decoration: underline;
}

/* Contact Icons - Improved */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.contact-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    background: var(--card-bg);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 16px;
    box-shadow: 0 6px 20px var(--shadow-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 140px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.contact-icon:hover::before {
    left: 100%;
}

.contact-icon:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 32px var(--shadow-color);
    border-color: var(--accent-primary);
}

.contact-icon svg {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.contact-icon:hover svg {
    transform: scale(1.1);
}

.contact-icon span {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Icon-specific colors and effects */
.email-icon:hover {
    color: #ea4335;
    border-color: #ea4335;
    box-shadow: 0 12px 32px rgba(234, 67, 53, 0.3);
}

.linkedin-icon:hover {
    color: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 12px 32px rgba(0, 119, 181, 0.3);
}

.whatsapp-icon:hover {
    color: #25d366;
    border-color: #25d366;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3);
}

/* Responsive design for contact icons */
@media (max-width: 768px) {
    .contact-icons {
        gap: 24px;
        margin: 40px 0;
    }
    
    .contact-icon {
        padding: 24px 20px;
        min-width: 120px;
    }
    
    .contact-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .contact-icon span {
        font-size: 0.9rem;
    }
    
    .contact-icon:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

/* Remove old contact form styles */
.contact-form,
.form-group,
.submit-button {
    display: none;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-align: center;
    padding: 30px 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Footer Social Links */
.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-social-link:hover {
    background-color: var(--shadow-color);
    color: var(--accent-primary);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .profile-photo {
        width: 250px;
        height: 250px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .logo-image {
        max-width: 150px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transition: left 0.3s ease, background-color 0.3s ease;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 15px 0;
        color: var(--text-primary);
        font-weight: 500;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .nav-links a:hover {
        color: var(--accent-primary);
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .nav-logo {
        max-height: 32px;
    }
    
    .nav-name {
        font-size: 1.2rem;
    }
    
    .nav-name-link {
        font-size: 1.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .focus-list {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    /* Dark mode toggle adjustments */
    .nav-controls {
        order: -1;
        margin-right: 15px;
    }
    
    .nav-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
}

/* Dark mode toggle styles */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    background-color: var(--shadow-color);
}

.dark-mode-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle .moon-icon {
    display: block;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    color: white;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.linkedin-link {
    background: #0077b5;
}

.linkedin-link:hover {
    background: #005885;
}
