/* ==========================================================================
   ESSENTIAL PAGES STYLING - Teeny Toys
   About Us, Contact, Terms, Privacy, Returns Pages
   ========================================================================== */

/* ==========================================================================
   Page Wrapper & Global Page Styles
   ========================================================================== */

.teeny-page-wrapper {
    background-color: var(--teeny-white);
    min-height: 70vh;
}

.teeny-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.teeny-section-inner-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
}

.teeny-text-center {
    text-align: center;
}

/* ==========================================================================
   Page Hero Section
   ========================================================================== */

.teeny-page-hero {
    background: linear-gradient(135deg, var(--teeny-secondary-light) 0%, var(--teeny-white) 100%);
    padding: 100px 5%;
    text-align: center;
    position: relative;
    margin-bottom: 60px;
}

.teeny-page-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 181, 160, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(119, 74, 51, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.teeny-hero-content {
    position: relative;
    z-index: 2;
}

.teeny-page-title {
    font-size: 3.5em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.teeny-page-subtitle {
    font-size: 1.4em;
    color: var(--teeny-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

.teeny-last-updated {
    font-size: 1em;
    color: var(--teeny-gray);
    font-style: italic;
    margin-top: 15px;
}

/* Legal Pages Hero (smaller) */
.teeny-legal-hero {
    padding: 80px 5%;
    margin-bottom: 40px;
}

.teeny-legal-hero .teeny-page-title {
    font-size: 3em;
}

.teeny-legal-hero .teeny-page-subtitle {
    font-size: 1.2em;
}

/* About Us Hero - Background Image Only */
.teeny-about-hero {
    background-image: url('https://teenykw.com/wp-content/uploads/2025/10/about-us.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    margin-bottom: 0 !important;
    padding: 0;
}

.teeny-about-hero:before {
    display: none;
}

/* Mobile About Hero */
@media (max-width: 768px) {
    .teeny-about-hero {
        height: 250px;
    }
}

/* Contact Us Hero - Background Image Only */
.teeny-contact-hero {
    background-image: url('https://teenykw.com/wp-content/uploads/2025/10/contact-us.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    margin-bottom: 0 !important;
    padding: 0;
}

.teeny-contact-hero:before {
    display: none;
}

/* Mobile Contact Hero */
@media (max-width: 768px) {
    .teeny-contact-hero {
        height: 250px;
    }
}

/* Return & Refund Hero - Background Image Only */
.teeny-returns-hero {
    background-image: url('https://teenykw.com/wp-content/uploads/2025/10/refund.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    margin-bottom: 0 !important;
    padding: 0;
}

.teeny-returns-hero:before {
    display: none;
}

/* Mobile Returns Hero */
@media (max-width: 768px) {
    .teeny-returns-hero {
        height: 250px;
    }
}

/* Privacy Policy Hero - Background Image Only */
.teeny-privacy-hero {
    background-image: url('https://teenykw.com/wp-content/uploads/2025/10/Privacy.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    margin-bottom: 0 !important;
    padding: 0;
}

.teeny-privacy-hero:before {
    display: none;
}

/* Mobile Privacy Hero */
@media (max-width: 768px) {
    .teeny-privacy-hero {
        height: 250px;
    }
}

/* Terms & Conditions Hero - Background Image Only */
.teeny-terms-hero {
    background-image: url('https://teenykw.com/wp-content/uploads/2025/10/Terms.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    margin-bottom: 0 !important;
    padding: 0;
}

.teeny-terms-hero:before {
    display: none;
}

/* Mobile Terms Hero */
@media (max-width: 768px) {
    .teeny-terms-hero {
        height: 250px;
    }
}

/* ==========================================================================
   About Us Page Styles
   ========================================================================== */

.teeny-about-section {
    padding: 80px 0;
}

.teeny-about-section:nth-child(even) {
    background-color: var(--teeny-light);
}

.teeny-section-heading {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.teeny-section-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--teeny-secondary);
    border-radius: 2px;
}

.teeny-text-center .teeny-section-heading:after {
    left: 50%;
    transform: translateX(-50%);
}

/* About Grid Layout */
.teeny-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.teeny-about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.teeny-about-content p {
    font-size: 1.2em;
    line-height: 1.8;
    color: var(--teeny-gray);
    margin-bottom: 20px;
}

/* Purpose Section - Icon Card */
.teeny-icon-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background-color: var(--teeny-white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.teeny-card-icon {
    font-size: 5em;
    margin-bottom: 30px;
}

.teeny-icon-card .teeny-section-heading:after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Ensure centered headings have centered underlines */
.teeny-text-center.teeny-section-heading:after,
.teeny-section-inner .teeny-text-center.teeny-section-heading:after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.teeny-icon-card p {
    font-size: 1.3em;
    line-height: 1.8;
    color: var(--teeny-gray);
}

/* Promise Grid */
.teeny-promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.teeny-promise-card {
    background-color: var(--teeny-white);
    border: 3px solid var(--teeny-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.teeny-promise-card:hover {
    transform: translateY(-8px);
    border-color: var(--teeny-secondary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.teeny-promise-icon {
    font-size: 3em;
    color: var(--teeny-secondary);
    margin-bottom: 20px;
}

.teeny-promise-card h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 15px;
}

.teeny-promise-card p {
    font-size: 1em;
    color: var(--teeny-gray);
    line-height: 1.6;
    margin: 0;
}

/* Features Grid */
.teeny-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.teeny-feature-item {
    text-align: center;
}

.teeny-feature-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.teeny-feature-item h3 {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 15px;
}

.teeny-feature-item p {
    font-size: 1em;
    color: var(--teeny-gray);
    line-height: 1.6;
}

/* About CTA */
.teeny-about-cta {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--teeny-primary) 0%, var(--teeny-primary-dark) 100%);
    text-align: center;
}

.teeny-about-cta h2 {
    font-size: 3em;
    font-weight: 700;
    color: var(--teeny-white);
    margin-bottom: 20px;
}

.teeny-about-cta p {
    font-size: 1.3em;
    color: var(--teeny-secondary-light);
    margin-bottom: 40px;
}

.teeny-cta-button {
    display: inline-block;
    background-color: var(--teeny-white);
    color: var(--teeny-primary);
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.teeny-cta-button:hover {
    background-color: var(--teeny-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.teeny-contact-section {
    padding: 80px 0;
}

.teeny-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

/* Contact Information */
.teeny-contact-info h2 {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 40px;
}

.teeny-contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--teeny-border);
}

.teeny-contact-item:last-child {
    border-bottom: none;
}

.teeny-contact-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.teeny-contact-details h3 {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 10px;
}

.teeny-contact-details p {
    font-size: 1.1em;
    color: var(--teeny-gray);
    margin: 5px 0;
    line-height: 1.6;
}

.teeny-contact-details a {
    color: var(--teeny-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.teeny-contact-details a:hover {
    color: var(--teeny-secondary);
}

.teeny-small-text {
    font-size: 0.9em !important;
    color: var(--teeny-gray) !important;
    font-style: italic;
}

/* Social Links */
.teeny-social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.teeny-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: var(--teeny-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--teeny-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.teeny-social-link:hover {
    background-color: var(--teeny-secondary-light);
    transform: translateX(5px);
}

.teeny-social-link span {
    font-size: 1.5em;
}

/* Contact Form */
.teeny-contact-form-wrapper {
    background-color: var(--teeny-light);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.teeny-contact-form-wrapper h2 {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 15px;
}

.teeny-form-description {
    font-size: 1.1em;
    color: var(--teeny-gray);
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Contact Form Messages */
.teeny-contact-message {
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 1.1em;
    text-align: center;
    font-weight: 500;
}

.teeny-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.teeny-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Form Elements */
.teeny-contact-form,
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.teeny-form-group {
    display: flex;
    flex-direction: column;
}

.teeny-form-group label,
.wpcf7-form label {
    font-size: 1em;
    font-weight: 600;
    color: var(--teeny-primary);
    margin-bottom: 8px;
}

.teeny-form-group input,
.teeny-form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    padding: 15px 20px;
    border: 2px solid var(--teeny-border);
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--teeny-white);
}

.teeny-form-group input:focus,
.teeny-form-group textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: var(--teeny-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(119, 74, 51, 0.1);
}

.teeny-form-group textarea,
.wpcf7-form textarea {
    resize: vertical;
    min-height: 150px;
}

.teeny-submit-button,
.wpcf7-form input[type="submit"] {
    background-color: var(--teeny-primary) !important;
    color: var(--teeny-white) !important;
    border: none !important;
    padding: 18px 40px !important;
    border-radius: 8px !important;
    font-size: 1.1em !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    width: 100%;
}

.teeny-submit-button:hover,
.wpcf7-form input[type="submit"]:hover {
    background-color: var(--teeny-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(119, 74, 51, 0.3);
}

/* Map Section */
.teeny-map-section {
    padding: 80px 0 0 0;
}

.teeny-map-section h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 40px;
}

.teeny-map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.teeny-map-container iframe {
    display: block;
}

/* ==========================================================================
   Legal Pages (Terms, Privacy, Returns)
   ========================================================================== */

.teeny-legal-page {
    background-color: var(--teeny-white);
}

/* Table of Contents */
.teeny-toc-section {
    padding: 40px 0;
    background-color: var(--teeny-light);
}

.teeny-table-of-contents {
    background-color: var(--teeny-white);
    border: 2px solid var(--teeny-border);
    border-radius: 16px;
    padding: 40px;
}

.teeny-table-of-contents h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--teeny-secondary);
}

.teeny-table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.teeny-table-of-contents ul li {
    margin: 0;
}

.teeny-table-of-contents ul li a {
    display: block;
    padding: 12px 20px;
    background-color: var(--teeny-light);
    border-radius: 8px;
    color: var(--teeny-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.teeny-table-of-contents ul li a:hover {
    background-color: var(--teeny-secondary-light);
    transform: translateX(5px);
}

/* Legal Content */
.teeny-legal-content {
    padding: 80px 0;
}

.teeny-legal-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px; /* For smooth scroll with fixed header */
}

.teeny-legal-section h2 {
    font-size: 2em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--teeny-border);
}

.teeny-legal-section p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--teeny-gray);
    margin-bottom: 20px;
}

.teeny-legal-section ul,
.teeny-legal-section ol {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--teeny-gray);
    margin: 20px 0 20px 30px;
}

.teeny-legal-section ul li,
.teeny-legal-section ol li {
    margin-bottom: 12px;
}

.teeny-legal-section strong {
    color: var(--teeny-primary);
    font-weight: 700;
}

.teeny-inline-link {
    color: var(--teeny-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.teeny-inline-link:hover {
    color: var(--teeny-secondary);
}

/* Legal Contact Box */
.teeny-legal-contact {
    background-color: var(--teeny-secondary-light);
    border-left: 4px solid var(--teeny-secondary);
    padding: 30px;
    border-radius: 8px;
    margin-top: 60px;
}

.teeny-legal-contact p {
    font-size: 1.1em;
    margin: 0;
}

.teeny-legal-contact a {
    color: var(--teeny-primary);
    font-weight: 700;
    text-decoration: none;
}

.teeny-legal-contact a:hover {
    color: var(--teeny-secondary);
    text-decoration: underline;
}

/* Contact Box in Returns */
.teeny-contact-box {
    background-color: var(--teeny-light);
    border: 2px solid var(--teeny-border);
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
}

.teeny-contact-box p {
    margin: 10px 0;
    font-size: 1.1em;
}

.teeny-contact-box a {
    color: var(--teeny-primary);
    font-weight: 700;
    text-decoration: none;
}

.teeny-contact-box a:hover {
    color: var(--teeny-secondary);
}

/* ==========================================================================
   Returns Page Specific Styles
   ========================================================================== */

/* Summary Cards */
.teeny-returns-summary {
    padding: 60px 0;
    background-color: var(--teeny-light);
}

.teeny-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.teeny-summary-card {
    background-color: var(--teeny-white);
    border: 3px solid var(--teeny-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.teeny-summary-card:hover {
    transform: translateY(-5px);
    border-color: var(--teeny-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.teeny-summary-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.teeny-summary-card h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 10px;
}

.teeny-summary-card p {
    font-size: 1em;
    color: var(--teeny-gray);
    margin: 0;
}

/* Process Steps */
.teeny-process-steps {
    margin-top: 40px;
}

.teeny-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px dashed var(--teeny-border);
}

.teeny-step:last-child {
    border-bottom: none;
}

.teeny-step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--teeny-primary) 0%, var(--teeny-primary-dark) 100%);
    color: var(--teeny-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(119, 74, 51, 0.3);
    flex-shrink: 0;
}

.teeny-step-content h3 {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 15px;
}

.teeny-step-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--teeny-gray);
    margin: 0;
}

/* Returns CTA */
.teeny-returns-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teeny-secondary-light) 0%, var(--teeny-white) 100%);
}

.teeny-returns-cta h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--teeny-primary);
    margin-bottom: 20px;
}

.teeny-returns-cta p {
    font-size: 1.3em;
    color: var(--teeny-gray);
    margin-bottom: 30px;
}

/* ==========================================================================
   Responsive Styles for Essential Pages
   ========================================================================== */

@media (max-width: 768px) {
    /* Page Hero Mobile */
    .teeny-page-hero {
        padding: 60px 5%;
    }

    .teeny-page-title {
        font-size: 2.2em;
    }

    .teeny-page-subtitle {
        font-size: 1.1em;
    }

    /* About Grid Mobile */
    .teeny-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .teeny-section-heading {
        font-size: 2em;
    }

    /* Promise Grid Mobile */
    .teeny-promise-grid {
        grid-template-columns: 1fr;
    }

    /* Features Grid Mobile */
    .teeny-features-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Grid Mobile */
    .teeny-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .teeny-contact-form-wrapper {
        padding: 30px;
    }

    /* TOC Mobile */
    .teeny-table-of-contents ul {
        grid-template-columns: 1fr;
    }

    /* Summary Grid Mobile */
    .teeny-summary-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* Process Steps Mobile */
    .teeny-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .teeny-step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5em;
    }

    .teeny-step-content h3 {
        font-size: 1.3em;
    }

    .teeny-step-content p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .teeny-summary-grid {
        grid-template-columns: 1fr;
    }

    .teeny-table-of-contents {
        padding: 25px;
    }

    .teeny-contact-form-wrapper {
        padding: 20px;
    }
}
