* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary: #7C3AED;
    --primary-light: #8B5CF6;
    --dark: #1F2937;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
}

/* Banner Ads Styles */
.page-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Banner Ads and Calculator Container */
.ads-calculator-container {
    max-width: 1400px;
    margin: 25px auto;
    padding: 0 20px;
}

/* Mobile Ads - Hidden by default */
.mobile-top-square,
.mobile-bottom-square {
    display: none !important;
}

/* Desktop Ads */
.desktop-ad {
    display: block;
}

.calculator-wrapper {
    display: grid;
    grid-template-areas: 
        "top top top"
        "left calc right"
        "bottom bottom bottom";
    grid-template-columns: 300px minmax(auto, 800px) 300px;
    grid-template-rows: auto auto auto;
    gap: 20px;
    width: 100%;
}

.top-banner {
    grid-area: top;
    width: 728px;
    height: 90px;
    margin: 0 auto;
}

.left-banner {
    grid-area: left;
    width: 300px;
    height: 250px;
}

.calculator {
    grid-area: calc;
    width: 100%;
}

.right-banner {
    grid-area: right;
    width: 300px;
    height: 250px;
}

.bottom-banner {
    grid-area: bottom;
    width: 728px;
    height: 90px;
    margin: 0 auto;
}

.ad-banner {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0, #e5e5e5);
    color: #666;
    font-size: 14px;
    text-align: center;
    width: 100%;
    height: 100%;
}

/* Responsive Design for Ads */
@media (max-width: 1400px) {
    .calculator-wrapper {
        grid-template-areas: 
            "top"
            "calc"
            "bottom";
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .left-banner,
    .right-banner {
        display: none !important;
    }

    .calculator {
        max-width: 800px;
        margin: 0 auto;
    }

    /* Tablet için reklam düzenlemeleri */
    .mobile-top-square,
    .mobile-bottom-square {
        display: none !important;
    }

    .desktop-ad {
        display: block !important;
    }

    .top-banner,
    .bottom-banner {
        width: 728px;
        height: 90px;
        margin: 20px auto;
    }
}

@media (max-width: 900px) {
    .top-banner,
    .bottom-banner {
        width: 100%;
        max-width: 728px;
        height: 90px;
        margin: 20px auto;
    }
}

@media (max-width: 768px) {
    .ads-calculator-container {
        padding: 10px;
        margin: 20px auto;
    }

    /* Hide desktop ads */
    .desktop-ad {
        display: none !important;
    }

    /* Show mobile ads */
    .mobile-top-square,
    .mobile-bottom-square {
        display: block !important;
        width: 300px;
        height: 250px;
        margin: 20px auto;
    }

    .calculator-wrapper {
        grid-template-areas: 
            "mobile-top"
            "calc"
            "mobile-bottom";
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .mobile-top-square {
        grid-area: mobile-top;
    }

    .mobile-bottom-square {
        grid-area: mobile-bottom;
    }
}

body {
    background: linear-gradient(135deg, var(--light-gray), #E5E7EB);
    min-height: 100vh;
    color: var(--dark);
    padding: 0;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 0;
}

h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 8px;
    margin-top: 20px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 10px;
}

.calculator-box {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Input Styles */
.birth-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
    margin-top: 16px;
}

.input-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-box label {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.input-box select,
.input-box input {
    height: 60px;
    padding: 0 20px;
    font-size: 18px;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-box select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

.input-box input::placeholder {
    color: var(--gray);
    opacity: 0.7;
}

.input-box select:hover,
.input-box input:hover {
    border-color: var(--primary);
}

.input-box select:focus,
.input-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    outline: none;
}

/* Button Style */
.button-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.calculate-btn {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

.calculate-btn i {
    margin-right: 8px;
}

.reset-btn {
    width: auto;
    height: 60px;
    padding: 0 24px;
    background-color: #dc3545;
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reset-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.2);
}

/* Result Styles */
.result {
    margin-top: 40px;
    display: none;
}

.result.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.result h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 32px;
    color: var(--dark);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.result-box {
    background: linear-gradient(135deg, var(--white), #F9FAFB);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.result-box:hover {
    transform: translateY(-5px);
}

.result-box h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-box p {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.total-info {
    background: linear-gradient(135deg, var(--white), #F9FAFB);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
}

.total-info p {
    font-size: 18px;
    color: var(--dark);
    margin: 12px 0;
}

.total-info span {
    font-weight: 700;
    color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
    padding: 4px 12px;
    border-radius: 8px;
    margin-left: 8px;
}

/* Footer Styles */
footer {
    background: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    color: var(--dark);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    color: var(--gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--primary);
}

.footer-nav ul li a i {
    margin-right: 10px;
    width: 20px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    color: var(--gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
}

.contact-info li a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-nav ul li a {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }

    h1 {
        font-size: 32px;
    }

    .lead {
        font-size: 18px;
    }

    .calculator-wrapper {
        flex-direction: column;
        padding: 0 10px;
    }

    .calculator-box {
        padding: 24px;
    }

    .birth-inputs {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .input-box select,
    .input-box input,
    .calculate-btn,
    .reset-btn {
        height: 50px;
        font-size: 16px;
    }

    .result-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .result-box p {
        font-size: 32px;
    }

    .total-info p {
        font-size: 16px;
    }

    .button-group {
        gap: 12px;
    }

    .reset-btn {
        padding: 0 20px;
        font-size: 14px;
    }
}

/* SEO Content Styles */
.seo-content {
    margin: 0;
    padding: 0;
}

.info-block {
    margin-bottom: 40px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-block p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 16px;
}

.info-block ul,
.info-block ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.info-block li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 12px;
}

.info-block strong {
    color: var(--dark);
    font-weight: 600;
}

/* Mobile Responsive for SEO Content */
@media (max-width: 768px) {
    .seo-content {
        padding: 24px;
        margin: 40px 0;
    }

    .info-block h2 {
        font-size: 24px;
    }

    .info-block p,
    .info-block li {
        font-size: 15px;
    }
}

.hidden {
    display: none;
}

.custom-date-toggle {
    margin: 24px 0;
    text-align: center;
}

/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    background-color: #E5E7EB;
    border-radius: 34px;
    transition: .3s ease-in-out;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: .3s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.switch input:checked + .slider {
    background-color: #34C759;
}

.switch input:checked + .slider:before {
    transform: translateX(22px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.switch-label {
    font-size: 16px;
    color: var(--dark);
    font-weight: 500;
}

/* Mobile Responsive için ek stiller */
@media (max-width: 768px) {
    .custom-date-toggle {
        margin: 16px 0;
    }

    .switch-label {
        font-size: 14px;
    }

    .slider {
        width: 44px;
        height: 24px;
    }

    .slider:before {
        height: 20px;
        width: 20px;
    }

    .switch input:checked + .slider:before {
        transform: translateX(20px);
    }
}

.target-date-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    margin: 32px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(124, 58, 237, 0.1);
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .target-date-title {
        font-size: 18px;
        margin: 24px 0 12px 0;
        padding-bottom: 6px;
    }
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.content-wrapper .content,
.content-wrapper .seo-content {
    line-height: 1.6;
}

.content-wrapper h2 {
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(124, 58, 237, 0.1);
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-wrapper h3 {
    color: var(--dark);
    font-size: 22px;
    margin: 30px 0 15px;
}

.content-wrapper p {
    margin-bottom: 20px;
    color: var(--gray);
}

.content-wrapper ul, 
.content-wrapper ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-wrapper li {
    margin-bottom: 10px;
    color: var(--gray);
}

.content-wrapper .info-box {
    background: rgba(124, 58, 237, 0.05);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.content-wrapper .info-box p {
    margin: 0;
}

.content-wrapper .cookie-type {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 20px;
        margin-bottom: 40px;
    }

    .content-wrapper h2 {
        font-size: 24px;
    }

    .content-wrapper h3 {
        font-size: 20px;
    }
}

/* Contact Form Styles */
.contact-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px;
    color: var(--dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

.contact-info-section {
    margin-top: 60px;
}

.contact-info-section .info-box {
    padding: 24px;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 12px;
    margin-top: 20px;
}

.contact-info-section .info-box ul {
    list-style: none;
    padding: 0;
}

.contact-info-section .info-box li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: var(--dark);
}

.contact-info-section .info-box li:last-child {
    margin-bottom: 0;
}

.contact-info-section .info-box li i {
    color: var(--primary);
    margin-right: 12px;
    font-size: 20px;
}

.faq-section {
    margin-top: 60px;
}

.faq-item {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 16px;
    }

    .contact-info-section,
    .faq-section {
        margin-top: 40px;
    }
} 