/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kalam', sans-serif;
    /* color: #1a1a1a; */
    color: #1a3a84;
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    position: relative;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Kalam', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

.handwriting {
    font-family: 'Great Vibes', cursive;
    color: #C5A059;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.text-brush {
    font-family: 'Kalam', cursive;
}

.text-stroke {
    font-family: 'Pacifico', serif;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background: rgba(255, 255, 255, 0.98); */
    background: #FFF8DC;
    background: linear-gradient(0deg,rgba(255, 248, 220, 1) 0%, rgba(255, 244, 245, 1) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 3rem;
}

.logo {
    font-family: 'Pacifico', serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #C5A059;
    display: flex;
}

.logo > img {
    height: 34px;
    margin-right: 10px;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding: 10px 20px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #C5A059;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #C5A059;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #C5A059;
}

.nav-links a.active::after {
    width: 100%;
}

/* Social Media Icons in Navigation */
.nav-links .social-icon a {
    opacity: 0.8;
    font-size: 1.2rem;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links .social-icon a::after {
    display: none; /* Remove underline animation for social icons */
}

.nav-links .social-icon a:hover {
    opacity: 1;
}

.social-icon .instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon .facebook {
    background: #1877f2;
}

.social-icon .float-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Hide mobile floating social icons on desktop */
.mobile-social-float {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

/* ==================== HERO SECTION (PARALLAX) ==================== */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/hero-painting.jpg');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    text-align: left;
    color: #FFFFFF;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1.5s ease-out;
    margin-left: 200px;
}

.hero-content .pretext{
    color: lightcyan;
}

.hero h1 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
    letter-spacing: 2px;
    
}

.color-palette span {
  display: inline-block;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: saturate(1.25);
}

.color-palette span:nth-child(1) {
  background-image: linear-gradient(to bottom, #FF8A65, #D84315);
  text-shadow: 0 0 14px rgba(216,67,21,0.55);
}

.color-palette span:nth-child(2) {
  background-image: linear-gradient(to bottom, #6EC1FF, #2962FF);
  text-shadow: 0 0 14px rgba(41,98,255,0.55);
}

.color-palette span:nth-child(3) {
  background-image: linear-gradient(to bottom, #7DDA8B, #2E7D32);
  text-shadow: 0 0 14px rgba(46,125,50,0.55);
}

.color-palette span:nth-child(4) {
  background-image: linear-gradient(to bottom, #FFD166, #F9A825);
  text-shadow: 0 0 14px rgba(249,168,37,0.55);
}

.color-palette span:nth-child(5) {
  background-image: linear-gradient(to bottom, #D48CFF, #8E24AA);
  text-shadow: 0 0 14px rgba(142,36,170,0.55);
}

.color-palette span.space {
  background: none;
  text-shadow: none;
}

.color-palette span:nth-child(7) {
  background-image: linear-gradient(to bottom, #FF9F68, #E65100);
  text-shadow: 0 0 14px rgba(230,81,0,0.55);
}

.color-palette span:nth-child(8) {
  background-image: linear-gradient(to bottom, #4DD0E1, #006064);
  text-shadow: 0 0 14px rgba(0,96,100,0.55);
}

.color-palette span:nth-child(9) {
  background-image: linear-gradient(to bottom, #A5D6A7, #388E3C);
  text-shadow: 0 0 14px rgba(56,142,60,0.55);
}

.color-palette span:nth-child(10) {
  background-image: linear-gradient(to bottom, #FFB74D, #EF6C00);
  text-shadow: 0 0 14px rgba(239,108,0,0.55);
}

.color-palette span:nth-child(11) {
  background-image: linear-gradient(to bottom, #A1887F, #4E342E);
  text-shadow: 0 0 14px rgba(78,52,46,0.55);
}

.color-palette span:nth-child(12) {
  background-image: linear-gradient(to bottom, #FFE082, #FBC02D);
  text-shadow: 0 0 14px rgba(251,192,45,0.55);
}

.color-palette span:nth-child(13) {
  background-image: linear-gradient(to bottom, #9CCC65, #33691E);
  text-shadow: 0 0 14px rgba(51,105,30,0.55);
}


/* Subtle glow on hover */
.color-palette span {
  text-shadow:
    0 0 6px rgba(255,255,255,0.4),
    0 0 12px rgba(196,107,75,0.35);
}

.hero-subheadline {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C5A059;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

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

/* ==================== ABOUT SECTION ==================== */
.about {
    background-color: #FFFFFF;
    padding: 8rem 3rem;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 2rem;
    line-height: 1.8;
    color: #3A4F2C;
    font-weight: 300;
}

.about-text p.handwriting {
    font-size: 3rem;
    color: #C5A059;
}

.about-image img {
    width: 100%;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ==================== PARALLAX BREAK SECTION ==================== */
.parallax-break {
    height: 50vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/texture-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.parallax-break h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 400;
    max-width: 800px;
    padding: 0 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* ==================== SKILLS SECTION ==================== */
.skills {
    background-color: #F9F9F9;
    padding: 8rem 3rem;
}

.skills-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.skills-container h2 {
    margin-bottom: 4rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: left;
}

.skill-category h3 {
    color: #C5A059;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #C5A059;
}

/* ==================== STORIES SECTION (TESTIMONIALS) ==================== */
.stories {
    background-color: #F9F9F9;
    padding: 6rem 0;
    overflow: hidden;
}

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

.stories-container h2 {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0 3rem;
}

.stories-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 300;
    padding: 0 3rem;
}

.slider-wrapper {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    height: 100%;
    width: max-content;
}

.testimonial-slider:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex: 0 0 500px;
    height: 100%;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.testimonial-card img,
.testimonial-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.testimonial-card:hover img,
.testimonial-card:hover video {
    transform: scale(1.05);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 10;
    transition: all 0.3s ease;
}

.testimonial-card:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.2);
    color: rgba(197, 160, 89, 1);
}

/* ==================== GALLERY SECTION (MASONRY) ==================== */
.gallery {
    background-color: #FFFFFF;
    padding: 8rem 3rem;
}

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

.gallery-container h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.masonry-grid {
    column-count: 5;
    column-gap: 1.5rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background-color: #F9F9F9;
    padding: 8rem 3rem;
}

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

.services-container h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background-color: #FFFFFF;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid #C5A059;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #C5A059;
    margin-bottom: 1rem;
}

.service-card p {
    color: #555;
    line-height: 1.8;
}

/* ==================== FOOTER ==================== */
footer {
    background-color: #1a1a1a;
    color: #FFFFFF;
    padding: 5rem 3rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-container h2 {
    color: #C5A059;
    margin-bottom: 1rem;
}

.footer-container > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-item {
    font-size: 1rem;
}

.contact-item a {
    color: #C5A059;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #FFFFFF;
}

.copyright {
    border-top: 1px solid #444;
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #888;
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background-color: rgba(197, 160, 89, 0.8);
    color: #FFFFFF;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(197, 160, 89, 1);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 30px;
    font-size: 3rem;
    padding: 0.5rem 1rem;
    line-height: 1;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .masonry-grid {
        column-count: 3;
    }
}

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

    h2 {
        font-size: 2rem;
    }

    nav {
        padding: 1rem 2rem;
    }

    .testimonial-card {
        flex: 0 0 400px;
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 1rem 2rem;
        border-bottom: 1px solid #f0f0f0;
    }

    /* Hide social icons from mobile menu */
    .nav-links .social-icon {
        display: none;
    }

    /* Show floating social icons on mobile */
    .mobile-social-float {
        display: flex;
        flex-direction: column;
        position: fixed;
        right: 20px;
        bottom: 5%;
        transform: translateY(-50%);
        gap: 15px;
        z-index: 999;
    }

    .mobile-social-float .float-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FFFFFF;
        font-size: 1.5rem;
        opacity: 1;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .masonry-grid {
        column-count: 2;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        background-attachment: scroll;
    }

    .parallax-break {
        background-attachment: scroll;
    }
}

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

    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/hero-painting-mobile.jpg');
    }


    .hero-content {
        margin-left: 20px;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .about, .skills, .gallery, .services {
        padding: 4rem 1.5rem;
    }

    .stories {
        padding: 4rem 0;
    }

    .slider-wrapper {
        height: 350px;
    }

    .testimonial-card {
        flex: 0 0 320px;
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .masonry-grid {
        column-count: 1;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    .parallax-break h2 {
        font-size: 1.8rem;
    }
}