@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #6C0604;
    --secondary-color: #B50203;
    --light-color: #FEFBFC;
    --text-color: #333;
    --bg-color: #fff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-color);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Header */
.header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-color);
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon-container {
    background-color: var(--bg-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-icon-container svg {
    width: 70%;
    height: 70%;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--light-color);
}

.nav-link:hover {
    color: #ddd;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(to right, var(--light-color), #fff);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 20px;
    font-size: 1.5rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.about-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-image {
    flex: 1;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: none;
}

.fade-up {
    transform: translateY(30px);
}

.fade-in {
    opacity: 0;
}

.scale-in {
    transform: scale(0.9);
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Hover effect removed in favor of scroll animation */
}

.about-content {
    flex: 1;
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Carousel Section */
.gallery {
    padding: 100px 0;
    background-color: #fff;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--light-color);
}

.carousel-track {
    display: grid;
    grid-template-columns: 1fr;
}

.carousel-item {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    z-index: 0;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* @keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
} */

.gallery-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.5rem;
}

.gallery-content {
    padding: 2rem;
    text-align: center;
}

.gallery-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    font-size: 1rem;
    color: #666;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(108, 6, 4, 0.7);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: var(--light-color);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Social Section */
.social {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.social-card {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.social-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}

.social-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.social-card p {
    color: #666;
    font-weight: 500;
}

/* Specific Social Colors on Hover */
.social-card.instagram:hover .social-icon {
    color: #E1306C;
}

.social-card.youtube:hover .social-icon {
    color: #FF0000;
}

.social-card.linkedin:hover .social-icon {
    color: #0077b5;
}

/* Contact Section */
.contact {
    padding: 60px 0;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--light-color);
    margin-left: 1rem;
}



/* New Styles for Detailed Services */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.service-detailed-item {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-detailed-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(108, 6, 4, 0.1);
    padding-bottom: 0.5rem;
}

.service-detailed-item p {
    margin-bottom: 1rem;
    text-align: justify;
}

.service-sub-block {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: color-mix(in srgb, var(--primary-color) 3%, white);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.service-sub-block h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-sub-block ul {
    list-style-type: none;
}

.service-sub-block li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-sub-block li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-note {
    font-style: italic;
    color: #666;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.important-note {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 4rem auto 0;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(108, 6, 4, 0.2);
}

.important-note h2 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

/* New Styles for Contact Section */
.contact-header {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-image-wrapper img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
    /* Enforce fixed height */
    object-fit: contain;
    /* Prevent cropping */
    width: auto;
    max-width: 100%;
}

.contact-intro-text .lead {
    font-size: 1.3rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

.contact-info-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-block {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.info-block h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.info-block ul {
    padding-left: 0;
    list-style-type: none;
}

.info-block li {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 0.5rem;
}

.info-block li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
}

.contact-action-area {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    background-color: var(--bg-color);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    align-items: start;
}

.contact-channels h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-channels .contact-list {
    margin: 2rem 0;
}

.contact-channels .contact-list a {
    word-break: break-word;
    overflow-wrap: break-word;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-channels .contact-list a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-channels .notes {
    margin: 1.5rem 0;
    font-weight: 500;
    color: #555;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
}

.contact-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin-top: 3rem;
    font-style: italic;
}

@media (max-width: 900px) {
    .contact-action-area {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 3rem;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .contact-list li {
        word-break: break-all;
    }

    .header-container {
        padding: 0 1rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        right: 0;
    }

    .hero-container,
    .about-row,
    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .about-row.reverse {
        flex-direction: column;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
    }

    .about-image {
        display: none;
    }

    .about-row.reverse .about-image,
    .about-row:last-child .about-image {
        display: block;
    }

    .about-container {
        gap: 2rem;
    }

    .service-detailed-item {
        padding: 1.5rem !important;
    }

    .service-sub-block {
        margin: 1rem 0 !important;
        padding: 1rem !important;
    }

    .contact-action-area {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem !important;
        gap: 2rem;
        width: 100%;
        overflow-x: hidden;
    }

    .contact-channels,
    .contact-form {
        width: 100%;
    }

    .header {
        padding: 0.5rem 0;
    }

    .logo-icon-container {
        width: 45px;
        height: 45px;
    }

    .logo {
        font-size: 1.2rem;
        gap: 10px;
    }

    .btn {
        display: block;
        width: fit-content;
        margin: 1rem auto;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .about,
    .gallery,
    .services,
    .social,
    .contact {
        padding: 30px 0;
    }
}

/* Contact Map */
.contact-map {
    margin-top: 4rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    display: block;
}

@media (max-width: 768px) {
    .contact-map iframe {
        height: 300px;
    }
}

/* Book Section */
.book-launch {
    padding: 100px 0;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.book-container {
    max-width: 1200px;
    margin: 0 auto;
}

.book-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.book-image-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.book-cover {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
    transition: var(--transition);
}

.book-cover:hover {
    transform: translateY(-8px);
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.18));
}

.book-content-col {
    flex: 1.2;
}

.book-launch .badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.book-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 1.5rem;
}

.book-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    text-align: justify;
    line-height: 1.7;
}

.book-highlights {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.highlight-icon {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    margin-top: 0.2rem;
}

.highlight-text {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.5;
}

.book-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Responsive Book Section */
@media (max-width: 992px) {
    .book-row {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .book-description {
        text-align: center;
    }
    
    .highlight-item {
        text-align: left;
    }
    
    .book-actions {
        justify-content: center;
    }
    
    .book-cover {
        max-width: 60%;
    }
}

@media (max-width: 768px) {
    .book-launch {
        padding: 50px 0;
    }
    
    .book-title {
        font-size: 2rem;
    }
    
    .book-subtitle {
        font-size: 1.2rem;
    }
    
    .book-cover {
        max-width: 80%;
    }
}