/*
====================================
PageYaRona - Custom Stylesheet
====================================
*/

/* 1. GOOGLE FONTS & BRAND VARIABLES
------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;700&display=swap');

:root {
    /* Color Palette */
    --c-bg-white: #ffffff;
    --c-bg-subtle: #f4f4f4;
    --c-text-dark: #121212;
    --c-headline: #1e434a; 
    --c-accent: #69cbc0; 
    --c-accent-hover: #57b3a8;
    --c-border: #eeeeee;

    /* Font Families */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* THEME VARIABLES (Light Mode Default) */
    --page-bg: var(--c-bg-white);
    --subtle-bg: var(--c-bg-subtle);
    --card-bg: var(--c-bg-white);
    --text-color: var(--c-text-dark);
    --heading-color: var(--c-headline);
    --border-color: var(--c-border);
    --btn-secondary-bg: transparent;
    --btn-secondary-text: var(--c-headline);
    --btn-secondary-border: var(--c-headline);
    --btn-secondary-hover-bg: var(--c-headline);
    --btn-secondary-hover-text: var(--c-bg-white);

    /* Bootstrap Overrides */
    --bs-body-color: var(--text-color);
    --bs-body-bg: var(--page-bg);
    --bs-tertiary-bg: var(--subtle-bg);
}

/* DARK MODE THEME */
body.dark-mode {
    --page-bg: var(--c-headline);
    --subtle-bg: #121212;
    --card-bg: #2a5a64;
    --text-color: var(--c-bg-subtle);
    --heading-color: var(--c-bg-white);
    --border-color: #335a61;
    --btn-secondary-bg: transparent;
    --btn-secondary-text: var(--c-bg-white);
    --btn-secondary-border: var(--c-bg-white);
    --btn-secondary-hover-bg: var(--c-bg-white);
    --btn-secondary-hover-text: var(--c-headline);
    
    --bs-body-color: var(--text-color);
    --bs-body-bg: var(--page-bg);
    --bs-tertiary-bg: var(--subtle-bg);
    --bs-table-bg: var(--card-bg);
    --bs-table-border-color: var(--border-color);
    --bs-table-color: var(--text-color);
    --bs-table-striped-bg: #25515a;
    --bs-form-control-bg: var(--card-bg);
    --bs-form-control-color: var(--text-color);
    --bs-accordion-bg: var(--card-bg);
    --bs-accordion-color: var(--text-color);
    --bs-accordion-button-color: var(--heading-color);
    --bs-accordion-border-color: var(--border-color);
    --bs-accordion-button-active-bg: var(--c-headline);
    --bs-accordion-button-active-color: var(--c-accent);
}

/* 2. GENERAL & BOOTSTRAP OVERRIDES
------------------------------------ */
body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--page-bg);
    line-height: 1.7;
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
    min-height: 100vh;
    min-width: 100vw;
   
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--heading-color); font-weight: 700; }
h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.75rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

.section-padding { padding: 80px 0; }
.subtle-bg { background-color: var(--subtle-bg); }
.dark-zone { background-color: #121212; color: var(--c-bg-white); }
.dark-zone h1, .dark-zone h2, .dark-zone h3 { color: var(--c-bg-white); }

/* Remove cursor for interactive elements to let custom cursor show */
a, button, .btn { cursor: none; }

/* 3. BUTTONS & CTAs
------------------------------------ */
.btn { padding: 12px 28px; border-radius: 50px; font-weight: 500; transition: all 0.3s ease-in-out; border: 2px solid transparent; }
.btn-primary { background-color: var(--c-accent); border-color: var(--c-accent); color: var(--c-text-dark); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.btn-primary:hover { background-color: var(--c-accent-hover); border-color: var(--c-accent-hover); transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
/* STRATEGY #1: Microinteraction on click */
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn-secondary { background-color: var(--btn-secondary-bg); border-color: var(--btn-secondary-border); color: var(--btn-secondary-text); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.btn-secondary:hover { background-color: var(--btn-secondary-hover-bg); color: var(--btn-secondary-hover-text); transform: translateY(-3px); }
#theme-toggle.btn-outline-secondary { border-color: var(--btn-secondary-border); color: var(--btn-secondary-text); }
#theme-toggle.btn-outline-secondary:hover { background-color: var(--btn-secondary-hover-bg); color: var(--btn-secondary-hover-text); }
body.dark-mode .dark-zone .btn-secondary { border-color: var(--c-bg-white); color: var(--c-bg-white); }
body.dark-mode .dark-zone .btn-secondary:hover { background-color: var(--c-bg-white); color: var(--c-text-dark); }

/* 4. NAVBAR
------------------------------------ */
.navbar { padding: 1rem 0; transition: background-color 0.4s ease-in-out; background-color: var(--card-bg); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.navbar-brand { font-family: var(--font-heading); font-weight: 800; font-size: 1.8rem; color: var(--heading-color); }
.navbar-brand:hover { color: var(--c-accent); }
.navbar .nav-link { color: var(--text-color); font-weight: 500; margin: 0 0.5rem; transition: color 0.3s ease-in-out; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--c-accent); }
.navbar .btn-primary { padding: 8px 20px; }
body.dark-mode .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");}

/* 5. HERO SECTION & AMBIENT MOVEMENT
------------------------------------ */
/* STRATEGY #3 & #8: Ambient Animated Gradient */
@keyframes animatedGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-section { 
    padding: 120px 0; 
    transition: background-color 0.4s ease-in-out;
}
body.light-mode .hero-section {
    background: linear-gradient(-45deg, #f4f4f4, #ffffff, #eef7f6);
    background-size: 400% 400%;
    animation: animatedGradient 15s ease infinite;
}
body.dark-mode .hero-section {
    background: linear-gradient(-45deg, #1e434a, #121212, #2a5a64);
    background-size: 400% 400%;
    animation: animatedGradient 20s ease infinite;
}
/* STRATEGY #4 & #9: Animated Gradient Typography */
@keyframes animatedTextGradient {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
.hero-section h1 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: transparent;
    background: linear-gradient(-45deg, var(--c-accent), var(--c-headline), var(--c-accent), var(--c-headline));
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: animatedTextGradient 8s ease infinite;
}
body.dark-mode .hero-section h1 {
    background: linear-gradient(-45deg, var(--c-accent), var(--c-bg-white), var(--c-accent));
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: animatedTextGradient 6s ease infinite;
}
.hero-section .subheadline { font-size: 1.25rem; color: var(--text-color); max-width: 500px; }
.hero-buttons .btn { margin-right: 10px; margin-top: 15px; }
.hero-image-placeholder {
    max-width: 100%;
    /* Mobile-first height */
    min-height: 400px; 
    background: url('../images/logo-transparent.png') center center / cover no-repeat;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Media Query for tablets and desktops */
@media (min-width: 768px) {
    .hero-image-placeholder {
        /* Taller height for larger screens */
        min-height: 600px; 
    }
}
/* 6. CARDS & HOVER DEPTH
------------------------------------ */
/* STRATEGY #1, #6, #7: Hover Depth & Consistent Motion */
.value-card, .persona-card, .project-card, .package-card { 
    background: var(--card-bg); 
    border: 1px solid var(--border-color); 
    padding: 30px; 
    border-radius: 12px; 
    text-align: center; 
    transition: all 0.4s ease-in-out; 
    height: 100%;
    transform: perspective(1000px);
}
.value-card:hover, .persona-card:hover, .project-card:hover, .package-card:hover { 
    transform: perspective(1000px) translateY(-10px) rotateX(5deg) scale(1.02); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
}
.value-card i { font-size: 3rem; color: var(--c-accent); margin-bottom: 1rem; }

/* 7. PROJECTS & TESTIMONIALS
------------------------------------ */
.project-card img { border-radius: 5px; margin-bottom: 1rem; }
.testimonial-card { background-color: var(--subtle-bg); padding: 30px; border-left: 5px solid var(--c-accent); border-radius: 5px; }
.testimonial-card blockquote { font-size: 1.1rem; font-style: italic; margin-bottom: 1rem; color: var(--text-color);}
.testimonial-card .author { font-weight: 700; color: var(--heading-color); }

/* 9. FLOATING WHATSAPP BUTTON
------------------------------------ */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 2rem; left: 2rem; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 100; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); color: white; }

/* 10. FOOTER
------------------------------------ */
.footer { background-color: #121212; color: #ccc; padding: 60px 0 20px 0; }
.footer h5 { color: var(--c-bg-white); margin-bottom: 1rem; }
.footer a { color: #ccc; text-decoration: none; transition: color 0.3s ease; }
.footer a:hover { color: var(--c-accent); }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer .navbar-brand { color: var(--c-bg-white) !important; }

/* 11. ABOUT PAGE SPECIFIC
------------------------------------ */
.philosophy-table { background-color: var(--page-bg); }
.philosophy-table td { padding: 1rem; }
.philosophy-table td:first-child { font-weight: 700; color: var(--heading-color); }
body.dark-mode .philosophy-table { color: var(--text-color); }


/* 12. BOOKING PAGE
------------------------------------ */
.calendar-embed { border: 1px dashed var(--border-color); padding: 2rem; min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background-color: var(--subtle-bg); border-radius: 8px; }
.calendar-embed i { font-size: 4rem; color: var(--border-color); margin-bottom: 1rem; }
.calendar { width: 100%; height: 600px; border-radius: 8px; overflow: hidden; position: relative; }

/*
======================================================
13. CUSTOM CURSOR & TRAIL
======================================================
*/

/* STRATEGY #5: Custom Cursor with Subtle Trail */
.cursor-dot, 
.cursor-outline,
.cursor-trail {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    mix-blend-mode: difference; /* This makes it visible on any color */
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--c-bg-white);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--c-bg-white);
    transition: transform 0.3s ease-in-out, width 0.3s ease-in-out, height 0.3s ease-in-out;
}

.cursor-outline.cursor-grow {
    transform: translate(-50%, -50%) scale(1.5);
    border: 1px solid var(--c-bg-white);
}

.cursor-trail {
    width: 40px;
    height: 40px;
    border: 2px solid var(--c-bg-white);
}

/* Individual trail delays and opacities for the subtle effect */
.cursor-trail:nth-of-type(3) { transition: all 0.2s ease-out; }
.cursor-trail:nth-of-type(4) { transition: all 0.4s ease-out; }
.cursor-trail:nth-of-type(5) { transition: all 0.6s ease-out; }
/* Start trails as transparent */
body:not(.cursor-ready) .cursor-trail {
    opacity: 0;
}
/*
======================================================
14. FUTURISTIC COMPONENTS (ACCORDION & FORM)
======================================================
*/

/* A) Futuristic Accordion Styling */
.futuristic-accordion .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
}
.futuristic-accordion .accordion-button {
    background-color: transparent;
    color: var(--heading-color);
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--font-body);
    padding: 1.5rem 1rem;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
}
.futuristic-accordion .accordion-button:not(.collapsed) {
    color: var(--c-accent);
    box-shadow: none;
}
.futuristic-accordion .accordion-button:hover {
    background-color: rgba(105, 203, 192, 0.05);
}
.futuristic-accordion .accordion-body {
    padding: 1rem 1.5rem 2rem 1.5rem;
    background-color: rgba(105, 203, 192, 0.03);
    border-radius: 0 0 8px 8px;
    line-height: 1.8;
}
.futuristic-accordion .accordion-button::after {
    /* Custom animated + icon */
    content: '+';
    font-family: monospace;
    font-size: 2rem;
    font-weight: 200;
    background-image: none;
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
}
.futuristic-accordion .accordion-button:not(.collapsed)::after {
    content: '+';
    transform: rotate(45deg);
}

/* B) Spotlight Form Container & Floating Labels */
.form-container {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 40px rgba(105, 203, 192, 0.1);
    transition: all 0.4s ease-in-out;
}
body.dark-mode .form-container {
    background-color: #121212; /* Use luxury black for focus */
    box-shadow: 0 0 50px rgba(105, 203, 192, 0.15);
}
.form-group {
    position: relative;
}
.form-control {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    border-radius: 0;
    padding: 10px 0;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: border-color 0.3s ease-in-out;
}
.form-control:focus {
    background-color: transparent;
    box-shadow: none;
    border-color: var(--c-accent);
    color: var(--text-color);
}
.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-color);
    opacity: 0.7;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}
.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
    top: -14px;
    left: 0;
    font-size: 0.85rem;
    color: var(--c-accent);
    opacity: 1;
}
.form-container .btn {
    padding: 15px;
}
/*
======================================================
15. CASE STUDY PAGE STYLES
======================================================
*/

.case-study-hero {
    padding: 100px 0;
}

.at-a-glance-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.at-a-glance-box h5 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-accent);
    margin-bottom: 0.5rem;
}

.at-a-glance-box p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
}

.stat-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease-in-out;
}
.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--c-accent);
}

.stat-card h3 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--c-accent);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}
/*
======================================================
16. LEGAL CONTENT PAGE STYLES
======================================================
*/

.legal-content h1 {
    margin-bottom: 1rem;
}
.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}
.legal-content p, 
.legal-content li {
    color: var(--text-color);
    line-height: 1.8;
}
.legal-content ul {
    padding-left: 20px;
}
.legal-content ul li {
    margin-bottom: 0.5rem;
}
.legal-content a {
    color: var(--c-accent);
    text-decoration: underline;
}
/*
======================================================
17. MODERN PRICING CARDS
======================================================
*/

.pricing-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* Important for the ribbon */
}

/* Apply the 3D tilt hover effect we already use */
.pricing-card:hover {
    transform: perspective(1000px) translateY(-10px) rotateX(3deg) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-card .tier-name {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-accent);
}

.pricing-card .tier-for {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.pricing-card .price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1;
}

.pricing-card hr {
    margin: 1.5rem 0;
    border-color: var(--border-color);
}

.pricing-card .feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1; /* Makes the button align to the bottom */
}

.pricing-card .feature-list li {
    margin-bottom: 1rem;
    padding-left: 28px;
    position: relative;
}

.pricing-card .feature-list li::before {
    content: '\F26A'; /* Bootstrap Icon for check-circle */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--c-accent);
    font-size: 1.1rem;
}

.pricing-card .feature-list li.feature-unavailable {
    color: var(--text-color);
    opacity: 0.5;
    text-decoration: line-through;
}

.pricing-card .feature-list li.feature-unavailable::before {
    content: '\F62A'; /* Bootstrap Icon for x-circle */
    color: var(--text-color);
    opacity: 0.5;
}


/* Highlighted "Professional" Card Styling */
.pricing-card.highlight {
    border: 2px solid var(--c-accent);
    transform: scale(1.05); /* Make it pop out by default */
}
/* Disable hover grow on the already larger card */
.pricing-card.highlight:hover {
    transform: perspective(1000px) translateY(-10px) rotateX(3deg) scale(1.07);
}

/* "Most Popular" Ribbon */
.pricing-card.highlight::after {
    content: 'Most Popular';
    position: absolute;
    top: 30px;
    right: -35px;
    background-color: var(--c-accent);
    color: var(--c-text-dark);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 30px;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/*
======================================================
18. PROJECT SWIPER GALLERY
======================================================
*/

.project-slider-section {
    position: relative;
}

.project-swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.project-swiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 380px; /* Adjust width of the cards */
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
    transform: scale(0.8);
}

.project-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.project-swiper .swiper-slide .project-card {
    background-color: var(--card-bg); /* Ensure cards use our theme */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
}

/* Swiper Navigation Button Styling */
.project-slider-section .swiper-button-next,
.project-slider-section .swiper-button-prev {
    color: var(--c-accent);
    top: 50%;
    transform: translateY(-50%);
}

.project-slider-section .swiper-button-next:hover,
.project-slider-section .swiper-button-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

body.dark-mode .project-slider-section .swiper-button-next,
body.dark-mode .project-slider-section .swiper-button-prev {
    color: var(--c-bg-white);
}
/*
======================================================
19. PAGE LOADER STYLES
======================================================
*/

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--page-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.75s ease, visibility 0.75s ease;
    opacity: 1;
    visibility: visible;
}

#loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(105, 203, 192, 0.2); /* Light version of accent color */
    border-top-color: var(--c-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.8;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}/*
======================================================
20. UNIFORM PROJECT CARD IMAGES
======================================================
*/

/* 1. The wrapper creates a consistent frame for the image. */
/* We use aspect-ratio to maintain a 4:3 shape. */
.project-image-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem; /* Replaces the old mb-3 class */
    background-color: var(--subtle-bg); /* Shows a subtle bg while image loads */
}

/* 2. The image is told to cover this frame completely. */
/* object-fit: cover works like background-size: cover for <img> tags. */
.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Ensures the image is centered */
    transition: transform 0.4s ease-in-out;
}

/* Optional: Add a subtle zoom effect on hover */
.project-card:hover .project-image-wrapper img {
    transform: scale(1.05);
}