/* Global Vars */
:root {
    --bg-color: #f7f1e3;
    --pink: #fab1a0;
    --blue: #74b9ff;
    --yellow: #ffeaa7;
    --green: #55efc4;
    --purple: #a29bfe;
    --text: #2d3436;
    --font-head: 'Lalezar', cursive;
    --font-body: 'Tajawal', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    font-family: var(--font-body);
    color: var(--text);
    /* Dotted Background */
    background-image: radial-gradient(#dcdde1 2px, transparent 2px);
    background-size: 20px 20px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.creative-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    padding-top: 40px;
}

.sticker {
    background: #fff;
    padding: 10px 20px;
    border: 3px solid #000;
    transform: rotate(-3deg);
    box-shadow: 5px 5px 0 #000;
    text-align: center;
}

.logo-sticker h1 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    line-height: 1;
    color: var(--text);
}

.doodle-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-item {
    padding: 12px 18px;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    /* Hand-drawn look */
    border: 2px solid #000;
    transition: all 0.2s;
    white-space: nowrap;
}

.color-1 {
    background-color: var(--pink);
}

.color-2 {
    background-color: var(--blue);
}

.color-3 {
    background-color: var(--yellow);
}

.color-4 {
    background-color: var(--green);
}

.nav-item:hover {
    transform: scale(1.1) rotate(2deg);
}

/* Language Switcher */
.lang-switcher {
    padding: 12px 18px;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    border: 2px solid #000;
    background-color: var(--purple);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: var(--font-body);
}

.lang-switcher:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.lang-switcher .lang-ar,
.lang-switcher .lang-en {
    display: inline-block;
}

.lang-switcher .lang-en {
    display: none;
}

/* Hero Collage */
.hero-collage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    min-height: 80vh;
}

.hero-text h2 {
    font-family: var(--font-head);
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.highlight {
    background: linear-gradient(120deg, var(--yellow) 0%, var(--yellow) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 80%;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.btn-paper {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    border: 3px solid #000;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 8px 8px 0 var(--purple);
    transition: all 0.2s;
}

.btn-paper:active {
    box-shadow: 2px 2px 0 var(--purple);
    transform: translate(6px, 6px);
}

.hero-visuals {
    position: relative;
    width: 50%;
    height: 500px;
}

.polaroid {
    position: absolute;
    padding: 15px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 280px;
    border-bottom: 40px solid #fff;
    /* Polaroid Style */
}

.p1 {
    top: 50px;
    left: 50px;
    transform: rotate(5deg);
    z-index: 2;
}

.p2 {
    top: 100px;
    right: 50px;
    transform: rotate(-8deg);
    z-index: 1;
}

/* Products Masonry */
.products-section {
    padding: 60px;
}

.doodle-title {
    text-align: center;
    font-family: var(--font-head);
    font-size: 3rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.doodle-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='100' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 25 20 50 10 T 100 10' stroke='%23fab1a0' fill='none' stroke-width='4'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    gap: 20px;
}

.grid-item {
    border: 3px solid #000;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
}

.grid-item:hover {
    transform: scale(1.05);
}

.item-large {
    grid-row: span 2;
    grid-column: span 1;
}

.item-tall {
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
}

.color-pink {
    background-color: var(--pink);
}

.color-blue {
    background-color: var(--blue);
}

.color-yellow {
    background-color: var(--yellow);
}

.color-green {
    background-color: var(--green);
}

.color-purple {
    background-color: var(--purple);
}

.grid-item i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #fff;
    -webkit-text-stroke: 2px #000;
}

.price-tag {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ff7675;
    color: #fff;
    padding: 5px 15px;
    border-radius: 50%;
    transform: rotate(15deg);
    font-weight: bold;
    border: 2px solid #000;
    box-shadow: 2px 2px 0 #000;
}

/* About Section */
.about-section {
    padding: 60px;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text);
}

/* Why Choose Us Section */
.why-us-section {
    padding: 60px;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
}

.why-us-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.why-us-item {
    background: #fff;
    padding: 30px 20px;
    border: 3px solid #000;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
}

.why-us-item i {
    font-size: 2.5rem;
    color: var(--purple);
    margin-bottom: 15px;
    -webkit-text-stroke: 2px #000;
}

.why-us-item h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text);
}

.why-us-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

/* Notepad Contact */
.notepad-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.notepad {
    background: #fff;
    width: 100%;
    max-width: 600px;
    min-height: 400px;
    position: relative;
    padding: 60px 40px;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
    background-image: linear-gradient(#e1e1e1 1px, transparent 1px);
    background-size: 100% 30px;
    /* Text Lines */
    line-height: 30px;
}

.holes {
    position: absolute;
    top: 0;
    right: 30px;
    /* RTL Binding */
    width: 40px;
    height: 100%;
    border-right: 2px solid #ff7675;
    /* Margin line */
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.contact-list li {
    margin: 15px 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    font-size: 1.5rem;
    color: var(--purple);
}

.contact-list a {
    transition: color 0.3s;
}

.contact-list a:hover {
    color: var(--purple);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
}

/* Language Support */
html[dir="ltr"] .hero-text h2 {
    text-align: left;
}

html[dir="ltr"] .hero-text p {
    text-align: left;
}

html[dir="ltr"] .notepad {
    text-align: left;
}

html[dir="ltr"] .holes {
    right: auto;
    left: 30px;
    border-right: none;
    border-left: 2px solid #ff7675;
}

html[dir="ltr"] .contact-list {
    text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
    .creative-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .doodle-nav {
        gap: 8px;
    }

    .nav-item,
    .lang-switcher {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .hero-collage {
        flex-direction: column-reverse;
        padding: 20px;
        text-align: center;
    }

    .hero-visuals {
        width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }

    .polaroid {
        width: 200px;
    }

    .item-large,
    .item-tall,
    .item-wide {
        grid-row: span 1;
        grid-column: span 1;
    }

    .about-section,
    .why-us-section {
        padding: 40px 20px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}