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

:root {
    /* Color Palette - Elegant Artisan */
    --primary: #8E4A42; /* Deep earthy terracotta */
    --primary-light: #C28E87;
    --accent: #E4007C; /* Mexican Pink for subtle accents */
    --accent-gold: #D4AF37;
    --bg-main: #FDFBF7; /* Soft cream */
    --bg-secondary: #F7F1EB;
    --text-main: #2D2422;
    --text-muted: #6B5E5B;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    
    /* Spacing & Transitions */
    --section-padding: 100px 20px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background-color: var(--primary-light);
    color: var(--white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
}

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

ul {
    list-style: none;
}

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

/* --- Layout Components --- */

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

/* Floating Notification */
.demo-notify {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    width: 320px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 10000;
    border-left: 5px solid var(--accent);
    transform: translateX(-120%);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.demo-notify.show {
    transform: translateX(0);
}

.notify-body {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.notify-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.notify-text h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.notify-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.btn-notify-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-notify-wa:hover {
    background: #20BA5A;
    transform: scale(1.05);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .demo-notify {
        width: 90%;
        left: 5%;
        bottom: 20px;
    }
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(142, 74, 66, 0.2);
}

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

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

/* --- Navigation --- */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.nav-icons {
    display: flex;
    gap: 20px;
    font-size: 1.1rem;
}

/* --- Hero Section --- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238e4a42' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 30V20h2v10h10v2H6v-2zm12 10v10h-2V40H6v-2h12v2zm10-8h2v-2h-2v2zm0 4h2v-2h-2v2zM24 20h2v-2h-2v2zm0 4h2v-2h-2v2zM2 18h2v-2H2v2zm0 4h2v-2H2v2zM6 22h2v-2H6v2zm0 4h2v-2H6v2zm4-8h2v-2h-2v2zm0 4h2v-2h-2v2zm14 22h2v-2h-2v2zm0 4h2v-2h-2v2zM16 38h2v-2h-2v2zm0 4h2v-2h-2v2zm14-22h2v-2h-2v2zm0 4h2v-2h-2v2zM42 20h2v-2h-2v2zm0 4h2v-2h-2v2zm-2-6h2v-2h-2v2zm0 4h2v-2h-2v2zm10 20h2v-2h-2v2zm0 4h2v-2h-2v2zm-4-8h2v-2h-2v2zm0 4h2v-2h-2v2zM32 40h2v-2h-2v2zm0 4h2v-2h-2v2zm10-22h2v-2h-2v2zm0 4h2v-2h-2v2zm6 10h2v-2h-2v2zm0 4h2v-2h-2v2zM52 18h2v-2h-2v2zm0 4h2v-2h-2v2zm-4-8h2v-2h-2v2zm0 4h2v-2h-2v2zm-12-6h2v-2h-2v2zm0 4h2v-2h-2v2zm10 6h2v-2h-2v2zm0 4h2v-2h-2v2zM56 10h2v-2h-2v2zm0 4h2v-2h-2v2zM48 2h2V0h-2v2zm0 4h2V4h-2v2zM38 10h2v-2h-2v2zm0 4h2v-2h-2v2zm-4-6h2V6h-2v2zm0 4h2v-2h-2v2zm-12 6h2v-2h-2v2zm0 4h2v-2h-2v2zm10-14h2v-2h-2v2zm0 4h2v-2h-2v2zM28 2h2V0h-2v2zm0 4h2V4h-2v2zm-4 8h2v-2h-2v2zm0 4h2v-2h-2v2zM18 10h2v-2h-2v2zm0 4h2v-2h-2v2zm-4-6h2V6h-2v2zm0 4h2v-2h-2v2zm-14 4h2v-2H2v2zm0 4h2v-2H2v2zm10-14h2v-2h-2v2zm0 4h2v-2h-2v2zM8 2h2V0H8v2zm0 4h2V4H8v2zm4 8h2v-2h-2v2zm0 4h2v-2h-2v2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    z-index: 5;
}

.hero-content {
    flex: 1;
    text-align: left;
    animation: fadeInUp 1s ease;
}

.hero-visual {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero heroic-italic {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 25px;
    color: var(--primary);
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 30px;
    line-height: 1.1;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Visual Composition on Hero */
.main-image-wrapper {
    position: relative;
    width: 80%;
    aspect-ratio: 1/1;
    border-radius: 50% 50% 0 0;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    background-color: var(--white);
    animation: scaleIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    transition: var(--transition);
}

.floating-card img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

.floating-card span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-1 {
    top: 10%;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    bottom: 10%;
    left: -20px;
    animation: float 5s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Torn edge effect refinement */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%23FDFBF7" d="M0,80L48,72C96,64,192,48,288,42.7C384,37,480,43,576,53.3C672,64,768,80,864,80C960,80,1056,64,1152,53.3C1248,43,1344,37,1392,34.7L1440,32V100H1392C1344,100,1248,100,1152,100C1056,100,960,100,864,100C768,100,672,100,576,100C480,100,384,100,288,100C192,100,96,100,48,100H0Z"></path></svg>');
    background-size: cover;
    z-index: 20;
}

/* --- Features Section --- */

.features {
    padding: var(--section-padding);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Gallery/Categories --- */

.categories {
    padding: var(--section-padding);
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 400px 400px;
    gap: 30px;
}

.cat-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px; /* More elegant with sharp/slightly rounded */
    background-color: var(--bg-secondary);
}

.cat-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(45, 36, 34, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.cat-item:hover .cat-overlay {
    opacity: 1;
}

.cat-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.cat-1 { grid-column: span 2; grid-row: span 2; } /* Large Hero Piece */
.cat-2 { grid-column: span 2; grid-row: span 1; }
.cat-3 { grid-column: span 1; grid-row: span 1; }
.cat-4 { grid-column: span 1; grid-row: span 1; }

/* --- Story Section --- */

.story {
    padding: var(--section-padding);
    display: flex;
    align-items: center;
    gap: 60px;
    background-color: var(--bg-secondary);
}

.story-img {
    flex: 1;
    position: relative;
}

.story-img img {
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--primary-light);
}

.story-content {
    flex: 1;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.story-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* --- Review Section (Textured like Reference) --- */

.reviews {
    padding: var(--section-padding);
    background: url('https://www.transparenttextures.com/patterns/natural-paper.png'), var(--primary);
    color: var(--white);
    text-align: center;
}

.review-card {
    max-width: 800px;
    margin: 0 auto;
}

.review-card p {
    font-size: 1.5rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
}

.review-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--white);
}

/* --- Footer --- */

footer {
    padding: 80px 20px 40px;
    background-color: var(--bg-main);
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-links i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
}

.social-links i:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.devcom-credit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.footer-devcom-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.devcom-credit:hover .footer-devcom-logo {
    transform: scale(1.1);
}

/* --- Animations --- */

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

/* --- Responsive --- */

@media (max-width: 992px) {
    .nav-container {
        padding: 0 30px;
    }

    .nav-links {
        display: none;
    }

    .hero-container-flex {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .main-image-wrapper {
        width: 75%;
    }

    .card-1 {
        right: 0;
        top: 5%;
    }

    .card-2 {
        left: 0;
        bottom: 5%;
    }

    .story {
        flex-direction: column;
        text-align: center;
    }

    .story-img {
        width: 100%;
        max-width: 500px;
    }

    .story-img img {
        box-shadow: 15px 15px 0 var(--primary-light);
    }
    
    .category-grid {
        grid-template-rows: auto;
        grid-template-columns: 1fr;
    }
    
    .cat-item {
        grid-column: span 1 !important;
        height: 350px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 20px;
    }

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

    .hero h1 {
        font-size: 2.8rem;
    }

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

    .hero-btns {
        flex-direction: column;
        gap: 20px;
    }

    .main-image-wrapper {
        width: 85%;
    }

    .floating-card img {
        width: 80px;
        height: 80px;
    }

    .floating-card span {
        font-size: 0.65rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .review-card p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .floating-card img {
        width: 65px;
        height: 65px;
    }

    .card-1 {
        right: -10px;
    }

    .card-2 {
        left: -10px;
    }
    
    .demo-notify {
        width: 95%;
        left: 2.5%;
        bottom: 15px;
        padding: 15px;
    }
}
