/* resources/theme.css */

/* Google Fonts Initialization */
body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    color: #333;
}

h1, h2, h3, h4, .font-fredoka {
    font-family: 'Fredoka', sans-serif;
}

/* Base Styles & Utilities (Tailwind handles most) */

/* Custom Scrollbar (Optional, for aesthetics) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Header Navigation Hover Effect */
header nav ul li a:hover {
    color: #f97316; /* Orange-500 */
}

/* CTA Button Hover Effect */
.hero-cta-button:hover {
    transform: scale(1.05);
}

/* Service Card Hover Effect */
.service-card {
    transition: all 0.3s ease-in-out;
}
.service-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.service-card .relative svg {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease-in-out;
}
.service-card:hover .relative svg {
    transform: rotate(5deg) scale(1.1);
}

/* Process Step Arrow Animation */
.process-arrow svg {
    transition: transform 0.3s ease-in-out;
}
.process-step:hover .process-arrow svg {
    transform: translateX(5px);
}

/* Portfolio Filter Buttons */
.filter-btn {
    transition: all 0.3s ease-in-out;
}
.filter-btn.active-filter {
    background-color: #f97316; /* Orange-500 */
    color: white;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

/* Portfolio Item Hover Effect */
.portfolio-item {
    position: relative;
    overflow: hidden;
}
.portfolio-item .quick-view-btn {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease-out;
}
.portfolio-item:hover .quick-view-btn {
    transform: translateY(0);
    opacity: 1;
}

/* Quick View Modal Animation */
#quick-view-modal.hidden {
    opacity: 0;
    pointer-events: none;
}
#quick-view-modal.visible {
    opacity: 1;
    pointer-events: auto;
}
#quick-view-modal.visible > div {
    transform: scale(1);
}

/* Genre Card Hover Effect */
.genre-card {
    transition: all 0.3s ease-in-out;
}
.genre-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.genre-card .relative svg {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}
.genre-card:hover .relative svg {
    transform: rotateY(180deg);
}

/* Stat Card Hover Effect */
.stat-card {
    transition: all 0.3s ease-in-out;
}

.stat-card img{
    width: 100%;
    height: 80px;
    object-fit: contain;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonial Card 'Sticky Note' Effect */
.testimonial-card {
    transition: all 0.3s ease-in-out;
}
.testimonial-card:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Swiper Custom Navigation Buttons */
.swiper-button-next, .swiper-button-prev {
    color: #4a5568; /* Tailwind gray-700 */
    transition: color 0.3s ease-in-out;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    color: #f97316; /* Orange-500 */
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.5rem !important;
    font-weight: bold;
}

/* FAQ Item Accordion */
.faq-question svg {
    transition: transform 0.3s ease-in-out;
}
.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
}
.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 1rem; /* pt-4 */
}

/* Form Input Focus */
input:focus, textarea:focus {
    outline: none;
    border-color: #f97316; /* Orange-500 */
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

/* Cookie Banner Animation */
#cookie-banner.show {
    transform: translateY(0);
}

/* Fixed CTA Banner Animation */
#fixed-cta-banner.show {
    transform: translateX(0) translateY(-50%);
}

/* Footer dynamic widget animation (JS will handle, CSS for hover/transition) */
footer .space-y-4 > div {
    transition: all 0.3s ease-in-out;
}
footer .space-y-4 > div:hover {
    transform: translateX(5px);
    color: #f97316; /* Orange-500 */
}
footer .space-y-4 > div:hover svg {
    color: #f97316; /* Orange-500 */
}

/* General link/button color */
a, button {
    color: inherit; /* Ensures default text color unless overridden */
}

/* Ensure all blocks have a consistent vertical rhythm */
section {
    padding-top: 6rem; /* Equivalent to py-24 */
    padding-bottom: 6rem; /* Equivalent to py-24 */
}

@media (max-width: 767px) {
    section {
        padding-top: 4rem; /* Equivalent to py-16 */
        padding-bottom: 4rem; /* Equivalent to py-16 */
    }
    .process-step .process-arrow {
        display: none !important; /* Hide arrows on mobile */
    }
    .testimonial-card {
        transform: rotate(0deg) !important; /* No rotation on mobile */
    }
}
/* New Styles for legalDomeBlock and its children */

.legalDomeBlock {
    /* Padding for the main content block */
    padding-top: 3rem; /* Moderate top padding */
    padding-left: 1.5rem; /* Moderate side padding */
    padding-right: 1.5rem; /* Moderate side padding */
    max-width: 1200px; /* Optional: Constrain width for better readability */
    margin-left: auto; /* Center the block if max-width is used */
    margin-right: auto; /* Center the block if max-width is used */
}

.legalDomeBlock h1 {
    /* Heading 1 styles: Main section title */
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem; /* Moderate size, not excessively large */
    line-height: 1.2;
    margin-bottom: 1.5rem; /* Space below the heading */
    color: #333; /* Darker text for headings */
}

.legalDomeBlock h2 {
    /* Heading 2 styles: Sub-section title */
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: #333;
}

.legalDomeBlock h3 {
    /* Heading 3 styles: Smaller sub-heading */
    font-family: 'Fredoka', sans-serif;
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #333;
}

.legalDomeBlock h4 {
    /* Heading 4 styles: Even smaller heading */
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: #333;
}

.legalDomeBlock h5 {
    /* Heading 5 styles: Smallest heading, often for minor titles */
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: #333;
}

.legalDomeBlock p {
    /* Paragraph styles: Base font size for body text */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6; /* Good readability for paragraphs */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: #4a4a4a; /* Slightly softer black for body text */
}

.legalDomeBlock ul {
    /* Unordered list styles */
    font-family: 'Inter', sans-serif;
    list-style-type: disc; /* Default disc bullets */
    padding-left: 1.5rem; /* Indent list items */
    margin-bottom: 1rem; /* Space below the list */
    color: #4a4a4a;
}

.legalDomeBlock ol {
    /* Ordered list styles (for completeness) */
    font-family: 'Inter', sans-serif;
    list-style-type: decimal; /* Default decimal numbers */
    padding-left: 1.5rem; /* Indent list items */
    margin-bottom: 1rem; /* Space below the list */
    color: #4a4a4a;
}

.legalDomeBlock li {
    /* List item styles */
    font-family: 'Inter', sans-serif;
    font-size: 1rem; /* Consistent font size with paragraphs */
    line-height: 1.5; /* Good line height for list items */
    margin-bottom: 0.5rem; /* Space between list items */
    color: #4a4a4a;
}

/* Optional: Adjust margins for better flow between elements */
.legalDomeBlock h1 + p,
.legalDomeBlock h2 + p,
.legalDomeBlock h3 + p,
.legalDomeBlock h4 + p,
.legalDomeBlock h5 + p {
    margin-top: 0.5rem; /* Reduce top margin if paragraph immediately follows a heading */
}

.legalDomeBlock p:last-child,
.legalDomeBlock ul:last-child,
.legalDomeBlock ol:last-child {
    margin-bottom: 0; /* Remove bottom margin for the last element in the block */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .legalDomeBlock {
        padding-top: 2rem; /* Slightly less top padding on mobile */
        padding-left: 1rem; /* Slightly less side padding on mobile */
        padding-right: 1rem;
    }

    .legalDomeBlock h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .legalDomeBlock h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    .legalDomeBlock h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    .legalDomeBlock h4 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    .legalDomeBlock h5 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    .legalDomeBlock p,
    .legalDomeBlock li {
        font-size: 0.95rem; /* Slightly smaller text on mobile for better fit */
        margin-bottom: 0.75rem;
    }
    .legalDomeBlock ul,
    .legalDomeBlock ol {
        padding-left: 1rem;
        margin-bottom: 0.75rem;
    }
    .legalDomeBlock li {
        margin-bottom: 0.4rem;
    }
}
