/* Reset und Basis Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors */
    --primary-color: #2997ff;
    --secondary-color: #f5f5f7;
    --background-color: #000000;
    --text-color: #f5f5f7;
    --text-secondary: #a1a1a6;
    --border-color: #424245;
    --card-background: #1c1c1e;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --gradient-start: #000000;
    --gradient-end: #1c1c1e;
    --accent-color: #a1a1a6;
    --text-light: #a1a1a6;
    --bg-color: #000;
    --bg-light: #1d1d1f;
    --bg-dark: #000;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
    --code-bg: #1d1d1f;
    --code-text: #f5f5f7;
    --code-keyword: #2997ff;
    --code-function: #ff9dc4;
    --code-variable: #0a84ff;
    --code-string: #30d158;
    --code-property: #ff9f0a;
    --code-number: #f5f5f7;
    --input-color: #f5f5f7;
    --label-color: #a1a1a6;
    --focus-color: #2997ff;
    --input-border-color: #424245;
    --input-bg: transparent;
    --range-bg: #424245;
    --range-thumb: #2997ff;
    --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --radius: 12px;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --max-width: 1280px;
}

/* Remove theme toggle related styles */
.theme-toggle-wrapper,
.theme-toggle,
.mobile-theme-toggle {
    display: none !important;
}

/* Remove all media queries related to color scheme */
@media (prefers-color-scheme: light) {
    /* Remove light theme styles */
}

@media not all and (prefers-color-scheme: dark) {
    /* Remove light theme styles */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typografie (Apple Style) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-color);
    transition: color 0.5s ease;
    letter-spacing: -0.015em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: var(--space-sm);
    color: var(--text-light);
    transition: color 0.5s ease;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

a:hover {
    color: var(--primary-color);
    opacity: 0.8;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Moderne Hintergrundanimationen */
.section {
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0.8;
    z-index: -1;
}

/* Animationen */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons (Apple Style) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 980px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
}

.btn-primary:hover {
    background-color: #006edb;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.4);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(0, 113, 227, 0.05);
    transform: translateY(-2px);
}

/* Header (Apple Style) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    width: 100%;
    padding: 0.5rem 0;
}

html[data-theme="dark"] .header {
    background-color: rgba(0, 0, 0, 0.8);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    padding-left: 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color), 0.1);
}

.mobile-actions {
    display: none;
}

.mobile-theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-theme-toggle:hover {
    background-color: var(--bg-light);
    border-radius: 50%;
}

.mobile-theme-toggle:focus {
    outline: none;
}

.mobile-theme-toggle:focus::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}

.moon-icon, .sun-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: var(--text-color);
    transition: var(--transition);
}

.moon-icon {
    opacity: 1;
}

.sun-icon {
    opacity: 0;
}

html[data-theme="dark"] .moon-icon {
    opacity: 0;
}

html[data-theme="dark"] .sun-icon {
    opacity: 1;
}

.mobile-menu {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.6s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease infinite;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(45deg);
    animation: arrow 1.5s ease infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.about-text {
    flex: 1;
    max-width: 600px;
}

.personal-info {
    flex: 1;
    max-width: 400px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-title {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--space-xs);
}

.info-value {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Skills Section */
.skills {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.skills-group {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: var(--space-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skills-group:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.skills-group-title {
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
    color: var(--text-color);
    text-align: center;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--space-sm);
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    background-color: var(--bg-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.skill-info {
    text-align: center;
}

.skill-name {
    font-size: 1rem;
    color: var(--text-color);
}

/* Experience Section */
.experience {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dots {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-color);
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    padding: var(--space-md);
    background-color: var(--bg-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--bg-light) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--bg-light);
}

.timeline-title {
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
    color: var(--text-color);
}

.timeline-place {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
}

.timeline-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.contact-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-xl);
}

.contact-info {
    flex: 1;
    max-width: 400px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background-color: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: var(--space-md);
}

.contact-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
    color: var(--text-color);
}

.contact-data {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.floating-label {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-label input,
.floating-label textarea,
.floating-label select {
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--input-bg);
    border: none;
    border-bottom: 2px solid var(--input-border-color);
    outline: none;
    transition: all 0.3s ease;
}

.floating-label label {
    position: absolute;
    top: 0.75rem;
    left: 0;
    font-size: 1rem;
    color: var(--text-color);
    pointer-events: none;
    transition: all 0.3s ease;
    transform-origin: left top;
}

.floating-label input::placeholder,
.floating-label textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.floating-label input:focus ~ label,
.floating-label textarea:focus ~ label,
.floating-label select:focus ~ label,
.floating-label input:not(:placeholder-shown) ~ label,
.floating-label textarea:not(:placeholder-shown) ~ label,
.floating-label select:not(:placeholder-shown) ~ label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--primary-color);
}

.floating-label textarea {
    min-height: 100px;
    resize: vertical;
}

.floating-label select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23444' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

/* Budget Range Styles */
.budget-section {
    margin-top: 1rem;
    padding: 1rem 0;
}

.budget-range {
    width: 100%;
    margin: 1rem 0;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--range-bg);
    border-radius: 2px;
    outline: none;
    position: relative;
}

.budget-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--range-thumb);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: -8px;
}

.budget-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--range-thumb);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    transform: translateY(-8px);
}

.budget-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.budget-range::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.budget-output {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 0.5rem;
}

/* Submit Button Styles */
.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    color: white;
    background: #007bff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Dark Mode Adjustments */
@media (prefers-color-scheme: dark) {
    body {
        --text-color: #fff;
        --input-color: #fff;
        --label-color: #aaa;
        --focus-color: #2997ff;
        --border-color: #aaa;
        --border-focus-color: #2997ff;
        --budget-color: #fff;
        --range-bg: #444;
        --range-thumb: #2997ff;
    }

    .floating-label input,
    .floating-label textarea,
    .floating-label select {
        color: #fff !important;
        border-bottom-color: #aaa !important;
    }

    .floating-label label {
        color: var(--label-color);
    }

    .budget-output {
        color: var(--budget-color);
    }
    
    .floating-label input:focus ~ label,
    .floating-label textarea:focus ~ label,
    .floating-label select:focus ~ label,
    .floating-label input:not(:placeholder-shown) ~ label,
    .floating-label textarea:not(:placeholder-shown) ~ label,
    .floating-label select:not(:placeholder-shown) ~ label {
        color: var(--focus-color);
    }

    .floating-label select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23aaa' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    }
    
    .submit-btn {
        background: #2997ff;
    }
    
    .submit-btn:hover {
        background: #3a86ff;
    }
    
    .timeline-title {
        color: #fff;
    }

    .timeline-place {
        color: #2997ff;
    }

    .timeline-description {
        color: #a1a1a6;
    }

    .privacy-checkbox a {
        color: #2997ff;
    }
}

/* Footer */
.footer {
    position: relative;
    padding: var(--space-lg) 0;
    background-color: var(--card-background);
    text-align: center;
}

html[data-theme="dark"] .footer {
    background-color: var(--bg-dark);
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.notification {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: var(--card-background);
    box-shadow: 0 4px 12px var(--shadow-color);
    margin-bottom: 1rem;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.success-notification {
    border-left: 4px solid #34c759;
}

.error-notification {
    border-left: 4px solid #ff3b30;
}

.notification-icon {
    font-size: 1.5rem;
}

.success-notification .notification-icon {
    color: #34c759;
}

.error-notification .notification-icon {
    color: #ff3b30;
}

.notification-content {
    flex: 1;
}

.notification-message {
    margin: 0;
    color: var(--text-color);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: var(--text-color);
}

/* Page Load Animation */
body:not(.loaded) {
    opacity: 0;
}

body.loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

body:not(.loaded) .hero,
body:not(.loaded) .about,
body:not(.loaded) .skills,
body:not(.loaded) .experience,
body:not(.loaded) .contact {
    opacity: 0;
    transform: translateY(30px);
}

body.loaded .hero,
body.loaded .about,
body.loaded .skills,
body.loaded .experience,
body.loaded .contact {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .skills-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .developer-container {
        max-width: 400px;
    }
    
    .animation-text {
        padding-left: 0;
        text-align: center;
    }
    
    .animation-text h2 {
        font-size: 2rem;
    }
    
    .animation-text h2::after {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .header {
        padding: 0.5rem 1rem;
    }
    
    .header-content {
        padding: 0;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero {
        padding: var(--space-lg) 0;
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .mobile-menu {
        position: relative;
    }
    
    .nav-menu.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: var(--space-md);
        box-shadow: var(--shadow);
        transform: translateY(0);
        transition: transform 0.3s ease;
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-link {
        display: block;
        padding: var(--space-sm) 0;
        margin: 0;
    }
    
    .mobile-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .skills-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dots {
        left: 30px;
    }
    
    .timeline-item {
        margin-left: 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .laptop {
        width: 90%;
    }
    
    .developer-head {
        width: 80%;
    }
    
    .developer-body {
        width: 70%;
    }
    
    .developer-arms {
        width: 90%;
    }
    
    .theme-toggle-wrapper {
        margin: var(--space-sm) 0;
    }
    
    .section {
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.5rem 0.75rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-form {
        padding: var(--space-md);
    }
    
    .laptop {
        width: 100%;
    }
    
    .developer-head {
        width: 90%;
    }
    
    .developer-body {
        width: 80%;
    }
    
    .developer-arms {
        width: 100%;
    }
    
    .theme-toggle-wrapper {
        margin: var(--space-sm) 0;
    }
    
    .animation-circle:nth-child(1) {
        width: 150px;
        height: 150px;
    }
    
    .animation-circle:nth-child(2) {
        width: 100px;
        height: 100px;
    }
    
    .animation-circle:nth-child(3) {
        width: 80px;
        height: 80px;
    }
    
    .animation-circle:nth-child(4) {
        width: 120px;
        height: 120px;
    }
    
    .animation-circle:nth-child(5) {
        width: 60px;
        height: 60px;
    }
    
    .animation-line:nth-child(6) {
        width: 60%;
    }
    
    .animation-line:nth-child(7) {
        width: 40%;
    }
    
    .animation-line:nth-child(8) {
        width: 50%;
    }
}

/* Developer Animation */
.developer-animation {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.animation-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.developer-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.developer {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop {
    position: relative;
    width: 80%;
    height: 200px;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.laptop:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.laptop-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--code-bg);
    padding: 20px;
    font-family: 'SF Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--code-text);
    overflow: hidden;
}

.code-line {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.code-keyword {
    color: var(--code-keyword);
    font-weight: bold;
}

.code-function {
    color: var(--code-function);
}

.code-variable {
    color: var(--code-variable);
}

.code-string {
    color: var(--code-string);
}

.laptop-keyboard {
    position: absolute;
    bottom: -10px;
    left: 5%;
    width: 90%;
    height: 10px;
    background-color: var(--card-background);
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.animation-text {
    flex: 1;
    max-width: 500px;
    padding-left: var(--space-lg);
}

.animation-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.animation-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.animation-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .animation-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .developer-container {
        max-width: 400px;
    }
    
    .animation-text {
        padding-left: 0;
        text-align: center;
    }
    
    .animation-text h2::after {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .laptop {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .laptop {
        width: 100%;
    }
}

/* Parallax Backgrounds */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.15;
    transition: transform 0.1s ease-out;
}

/* Remove all specific background image references */
.hero-bg,
.about-bg,
.developer-bg,
.skills-bg,
.experience-bg,
.contact-bg {
    /* Remove background-image properties */
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

/* Section Styles */
.section {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-title.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.2s;
}

.hero-subtitle.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.4s;
}

.hero-description.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.6s;
}

.hero-buttons.show {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.5s;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease infinite;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transform: rotate(45deg);
    margin-top: var(--space-sm);
    animation: arrow 1.5s ease infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

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

/* Header Background Animation */
.header-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    opacity: 0.7;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.05), rgba(134, 134, 139, 0.05));
}

.animation-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0.15;
    animation: float 15s infinite ease-in-out;
    filter: blur(5px);
}

.animation-circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: linear-gradient(135deg, var(--primary-color), #34c759);
}

.animation-circle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    background: linear-gradient(135deg, #ff9f0a, var(--accent-color));
}

.animation-circle:nth-child(3) {
    width: 120px;
    height: 120px;
    top: 30%;
    left: 60%;
    animation-delay: 4s;
    background: linear-gradient(135deg, #ff3b30, var(--primary-color));
}

.animation-circle:nth-child(4) {
    width: 180px;
    height: 180px;
    top: 70%;
    left: 20%;
    animation-delay: 6s;
    background: linear-gradient(135deg, #5856d6, var(--accent-color));
}

.animation-circle:nth-child(5) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 40%;
    animation-delay: 8s;
    background: linear-gradient(135deg, #5ac8fa, var(--primary-color));
}

/* Add new animation elements */
.animation-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
    animation: pulse 8s infinite ease-in-out;
}

.animation-line:nth-child(6) {
    width: 80%;
    top: 25%;
    left: 10%;
    animation-delay: 1s;
}

.animation-line:nth-child(7) {
    width: 60%;
    top: 45%;
    left: 20%;
    animation-delay: 3s;
}

.animation-line:nth-child(8) {
    width: 70%;
    top: 65%;
    left: 15%;
    animation-delay: 5s;
}

.animation-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.4;
    animation: fadeInOut 6s infinite ease-in-out;
}

.animation-dot:nth-child(9) {
    top: 15%;
    left: 30%;
    animation-delay: 0s;
}

.animation-dot:nth-child(10) {
    top: 35%;
    left: 70%;
    animation-delay: 2s;
}

.animation-dot:nth-child(11) {
    top: 55%;
    left: 25%;
    animation-delay: 4s;
}

.animation-dot:nth-child(12) {
    top: 75%;
    left: 60%;
    animation-delay: 6s;
}

.animation-dot:nth-child(13) {
    top: 25%;
    left: 85%;
    animation-delay: 8s;
}

.animation-dot:nth-child(14) {
    top: 65%;
    left: 40%;
    animation-delay: 10s;
}

.animation-dot:nth-child(15) {
    top: 45%;
    left: 15%;
    animation-delay: 12s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(100px, 100px) rotate(90deg) scale(1.2);
    }
    50% {
        transform: translate(200px, 0) rotate(180deg) scale(1);
    }
    75% {
        transform: translate(100px, -100px) rotate(270deg) scale(0.8);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.1;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 0.3;
        transform: scaleX(1);
    }
    100% {
        opacity: 0.1;
        transform: scaleX(0.8);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0.1;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.1;
        transform: scale(0.8);
    }
}

/* Dark mode adjustments */
html[data-theme="dark"] .header-bg-animation {
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.05), rgba(161, 161, 166, 0.05));
}

html[data-theme="dark"] .animation-circle {
    opacity: 0.2;
}

html[data-theme="dark"] .animation-line {
    opacity: 0.4;
}

html[data-theme="dark"] .animation-dot {
    opacity: 0.5;
}

/* Hero Background Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0.1;
}

.particle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent);
    animation: particleFloat 20s infinite linear;
}

.particle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 20%; left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { top: 30%; left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { top: 40%; left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { top: 50%; left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { top: 60%; left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { top: 70%; left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { top: 80%; left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { top: 90%; left: 90%; animation-delay: 8s; }
.particle:nth-child(10) { top: 15%; left: 85%; animation-delay: 9s; }
.particle:nth-child(11) { top: 25%; left: 75%; animation-delay: 10s; }
.particle:nth-child(12) { top: 35%; left: 65%; animation-delay: 11s; }
.particle:nth-child(13) { top: 45%; left: 55%; animation-delay: 12s; }
.particle:nth-child(14) { top: 55%; left: 45%; animation-delay: 13s; }
.particle:nth-child(15) { top: 65%; left: 35%; animation-delay: 14s; }
.particle:nth-child(16) { top: 75%; left: 25%; animation-delay: 15s; }
.particle:nth-child(17) { top: 85%; left: 15%; animation-delay: 16s; }
.particle:nth-child(18) { top: 95%; left: 5%; animation-delay: 17s; }
.particle:nth-child(19) { top: 5%; left: 95%; animation-delay: 18s; }
.particle:nth-child(20) { top: 15%; left: 85%; animation-delay: 19s; }

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    opacity: 0.1;
    border-radius: 40%;
    transform-origin: 50% 48%;
    animation: wave 12s infinite linear;
}

.wave:nth-child(1) {
    animation-duration: 12s;
}

.wave:nth-child(2) {
    animation-duration: 16s;
    opacity: 0.08;
}

.wave:nth-child(3) {
    animation-duration: 20s;
    opacity: 0.06;
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(100px, 100px) rotate(90deg) scale(1.2);
    }
    50% {
        transform: translate(200px, 0) rotate(180deg) scale(1);
    }
    75% {
        transform: translate(100px, -100px) rotate(270deg) scale(0.8);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

@keyframes wave {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Dark mode adjustments for hero background */
html[data-theme="dark"] .hero-bg-animation {
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    opacity: 0.15;
}

html[data-theme="dark"] .particle {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent);
}

html[data-theme="dark"] .wave {
    background: linear-gradient(45deg, var(--primary-color), rgba(0, 0, 0, 0.2));
}

/* Ensure hero content stays above the animation */
.hero-content {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments for the animation */
@media (max-width: 768px) {
    .particle {
        width: 60px;
        height: 60px;
    }
    
    .wave {
        width: 300%;
        height: 300%;
    }
}

@media (max-width: 480px) {
    .particle {
        width: 40px;
        height: 40px;
    }
    
    .wave {
        width: 400%;
        height: 400%;
    }
}

/* Contact Form Success Animation */
.success-animation {
    display: none;
    text-align: center;
    padding: var(--space-xl);
}

.success-animation.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeScale 0.5s ease-out;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    position: relative;
    background: var(--primary-color);
    border-radius: 50%;
    margin-bottom: var(--space-md);
    animation: circleScale 0.5s ease-out;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 20px;
    height: 40px;
    border: solid white;
    border-width: 0 6px 6px 0;
    animation: checkmarkDraw 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes circleScale {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes checkmarkDraw {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    20% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 20px;
        height: 40px;
        opacity: 1;
    }
}

@keyframes fadeScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Privacy Checkbox Styles */
.privacy-group {
    margin-bottom: var(--space-md);
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-light);
}

.privacy-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-top: 2px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.privacy-label input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.privacy-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.privacy-label span {
    flex: 1;
    line-height: 1.4;
}

.privacy-label a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.privacy-label a:hover {
    text-decoration: underline;
}

/* Dark mode adjustments */
html[data-theme="dark"] .privacy-label input[type="checkbox"] {
    border-color: var(--border-color);
    background-color: var(--bg-dark);
}

html[data-theme="dark"] .privacy-label input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Privacy Policy Page */
.privacy-policy {
    padding: calc(var(--space-xl) * 2) 0 var(--space-xl);
}

.privacy-policy h1 {
    font-size: 3rem;
    margin-bottom: var(--space-xl);
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-section {
    margin-bottom: var(--space-xl);
    background-color: var(--bg-light);
    padding: var(--space-lg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.privacy-section h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--text-color);
}

.privacy-section h3 {
    font-size: 1.5rem;
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--text-color);
}

.privacy-section h4 {
    font-size: 1.2rem;
    margin: var(--space-md) 0 var(--space-sm);
    color: var(--text-color);
}

.privacy-section p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
    line-height: 1.6;
}

.privacy-section ul {
    list-style: none;
    padding-left: var(--space-md);
    margin-bottom: var(--space-md);
}

.privacy-section li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-sm);
    color: var(--text-light);
}

.privacy-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: calc(var(--space-xl) + 60px) 0 var(--space-lg);
    }

    .privacy-policy h1 {
        font-size: 2.5rem;
    }

    .privacy-section {
        padding: var(--space-md);
    }

    .privacy-section h2 {
        font-size: 1.8rem;
    }

    .privacy-section h3 {
        font-size: 1.3rem;
    }

    .privacy-section h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .privacy-policy h1 {
        font-size: 2rem;
    }

    .privacy-section {
        padding: var(--space-sm);
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .privacy-section h3 {
        font-size: 1.2rem;
    }

    .privacy-section h4 {
        font-size: 1rem;
    }
}

.privacy-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-color);
}

.privacy-checkbox input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
    min-width: 16px;
    height: 16px;
}

.privacy-checkbox span {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text-color);
}

.privacy-checkbox a {
    color: #007bff;
    text-decoration: none;
    display: inline;
    margin: 0 0.2rem;
}

.privacy-checkbox a:hover {
    text-decoration: underline;
}

/* Dark mode adjustment for the privacy checkbox */
@media (prefers-color-scheme: dark) {
    .privacy-checkbox {
        color: #fff;
    }
    
    .privacy-checkbox a {
        color: #2997ff;
    }
}

/* Improve visibility for all text elements */
p, h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
}

.text-light, 
.text-secondary,
.timeline-date,
.info-title {
    color: var(--text-secondary);
}

/* Improve form element readability */
.floating-label input::placeholder,
.floating-label textarea::placeholder {
    color: transparent;
}

/* Ensure contrasting text on buttons */
.submit-btn {
    color: white;
    font-weight: 500;
}

/* Set minimum contrast ratio for all text */
.contact-title,
.info-value,
.skill-name {
    color: var(--text-color);
}

/* Direct style overrides for key elements */
input, select, textarea, button {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif !important;
}

/* Force black text in light mode */
.form-group, 
.floating-label label,
.privacy-checkbox, 
.privacy-checkbox span,
.budget-output {
    color: #000 !important;
}

/* Force white text in dark mode */
@media (prefers-color-scheme: dark) {
    .form-group, 
    .floating-label label,
    .privacy-checkbox, 
    .privacy-checkbox span,
    .budget-output {
        color: #fff !important;
    }
}

/* Critical color fix for light mode */
@media not all and (prefers-color-scheme: dark) {
    .floating-label input,
    .floating-label textarea,
    .floating-label select {
        color: #000 !important;
        border-bottom-color: #666 !important;
    }
    
    .floating-label label {
        color: #444 !important;
    }
    
    .privacy-checkbox,
    .privacy-checkbox span,
    .privacy-checkbox input[type="checkbox"] {
        color: #000 !important;
    }
    
    .budget-output {
        color: #000 !important;
    }
    
    .privacy-checkbox a {
        color: #0071e3 !important;
    }
    
    .submit-btn {
        background-color: #0071e3 !important;
        color: #fff !important;
    }
    
    body {
        --border-color: #666 !important;
        --input-color: #000 !important;
        --label-color: #444 !important;
        --budget-color: #000 !important;
    }
}

/* Fix for form labels in light mode - extremely specific selectors */
@media not all and (prefers-color-scheme: dark) {
    .info-title,
    label,
    .floating-label label,
    .section form label,
    .form-group label,
    p, h1, h2, h3, h4, h5, h6,
    .timeline-title,
    .info-value,
    .skill-name,
    .contact-title,
    input, select, textarea,
    .text-light,
    .text-secondary {
        color: #000 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    input::placeholder,
    textarea::placeholder,
    select::placeholder {
        color: rgba(0, 0, 0, 0.5) !important;
    }
    
    /* Override text color variables */
    :root {
        --text-color: #000 !important;
        --text-secondary: #444 !important;
        --text-light: #444 !important;
        --label-color: #000 !important;
        --input-color: #000 !important;
    }
}

/* Light mode specific overrides */
@media (prefers-color-scheme: light) {
    body {
        color: var(--text-color);
    }

    h1, h2, h3, h4, h5, h6,
    p,
    .info-title,
    .timeline-title,
    .timeline-description,
    .contact-title,
    .skill-name,
    .info-value {
        color: var(--text-color) !important;
    }

    .text-light,
    .text-secondary,
    .timeline-date {
        color: var(--text-secondary) !important;
    }

    .floating-label input,
    .floating-label textarea,
    .floating-label select {
        color: var(--input-color) !important;
        border-bottom-color: var(--input-border-color) !important;
    }

    .floating-label label {
        color: var(--label-color) !important;
    }

    .floating-label input::placeholder,
    .floating-label textarea::placeholder,
    .floating-label select::placeholder {
        color: rgba(0, 0, 0, 0.5) !important;
    }

    .privacy-checkbox,
    .privacy-checkbox span {
        color: var(--text-color) !important;
    }

    .budget-output {
        color: var(--text-color) !important;
    }

    .contact-data,
    .contact-icon {
        color: var(--text-secondary) !important;
    }

    .nav-link {
        color: var(--text-color) !important;
    }

    .logo-text {
        color: var(--text-color) !important;
    }

    .mobile-menu span {
        background-color: var(--text-color) !important;
    }
} 