/* =========================
   GENERAL
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    direction: rtl;

    background:
        radial-gradient(
            circle at top,
            #1b4b3f 0%,
            #123c32 42%,
            #0b2f27 100%
        );

    color: #29251f;
}

main {
    width: 100%;
}

section {
    width: min(1050px, calc(100% - 24px));
    margin: 0 auto 30px;
}

section h2 {
    text-align: center;
    margin: 0 0 16px;
    font-size: 20px;
    color: #fffdf7;
}

/* =========================
   HEADER / LOGO
========================= */

.header {
    width: min(1050px, calc(100% - 24px));
    margin: 0 auto;
    text-align: center;
    padding: 20px 0 15px;
}

.logo-container {
    width: calc((100% - 36px) / 4);
    aspect-ratio: 1 / 1;
    margin: 0 auto 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    border-radius: 50%;
    border: 5px solid #c9a227;

    background: #fffdf7;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.28),
        0 0 0 6px rgba(201, 162, 55, 0.15);
}

/* =========================
   SOCIAL / LINK CARDS
========================= */

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.link-card {
    background: #fffdf7;
    border: 1px solid #e4d5a8;
    border-radius: 14px;

    padding: 14px 12px;
    text-align: center;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.link-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.20);
}

/* =========================
   APP ICONS
========================= */

.app-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 9px;

    border-radius: 14px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #fff;

    font-weight: bold;
    font-size: 22px;
}

.app-icon svg {
    width: 28px;
    height: 28px;
}

.image-icon {
    overflow: hidden;
    padding: 0;
    background: #fff;
}

.image-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 14px;
}

.instagram-icon {
    background: linear-gradient(
        135deg,
        #833ab4,
        #fd1d1d,
        #fcb045
    );
}

.maps-icon {
    background: #fff;
    color: #d94b3d;
    border: 1px solid #eee;
}

/* =========================
   TEXT
========================= */

.link-card h3 {
    margin: 6px 0 3px;
    font-size: 16px;
    color: #29251f;
}

.username {
    min-height: 30px;
    margin: 3px 0;

    color: #766e60;

    font-size: 11px;
    line-height: 1.5;
}

/* =========================
   BUTTONS
========================= */

.open-button,
.copy-button {
    width: 100%;

    border-radius: 8px;
    padding: 8px 5px;
    margin-top: 5px;

    display: block;

    font-size: 12px;
    cursor: pointer;
    text-decoration: none;

    transition: 0.2s ease;
    font-family: inherit;
}

.open-button {
    background:
        linear-gradient(
            135deg,
            #b88a18,
            #d4af37
        );

    color: #fff;

    border: none;

    box-shadow:
        0 3px 8px rgba(150, 115, 20, 0.20);
}

.open-button:hover {
    filter: brightness(1.08);
}

.copy-button {
    background: #fffdf7;
    color: #9b7620;
    border: 1px solid #c9a227;
}

.copy-button:hover {
    background: #faf2d8;
}

/* =========================
   CONTACT
========================= */

.phone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.phone-card {
    background: #fffdf7;
    border: 1px solid #e4d5a8;

    border-radius: 14px;
    padding: 14px 10px;

    text-align: center;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12);
}

.phone-icon {
    font-size: 24px;
    color: #c9a227;
    margin-bottom: 5px;
}

.phone-card a {
    display: block;

    color: #29251f;

    font-size: 15px;
    font-weight: bold;

    direction: ltr;
    text-decoration: none;

    margin-bottom: 9px;
}

.phone-card button {
    border: 1px solid #c9a227;
    background: #fffdf7;

    color: #9b7620;

    border-radius: 7px;
    padding: 7px 10px;

    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
}

/* =========================
   ADDRESS
========================= */

.address-section {
    text-align: center;

    background: #fffdf7;

    padding: 20px 15px;

    border-radius: 16px;
    border: 1px solid #e4d5a8;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12);
}

.address-section h2 {
    color: #29251f;
}

.address-section p {
    font-size: 14px;
    line-height: 1.9;

    color: #766e60;

    margin: 8px 0;
}

.map-large-button {
    display: inline-block;

    margin-top: 8px;
    padding: 9px 16px;

    border-radius: 9px;

    text-decoration: none;

    background: #173f34;
    color: #fffdf7;

    font-size: 13px;
}

.map-large-button:hover {
    background: #0b2f27;
}

/* =========================
   SUPPORT
========================= */

.support-section {
    text-align: center;

    background:
        linear-gradient(
            135deg,
            #fff9e8,
            #fffdf7
        );

    padding: 22px 15px;

    border-radius: 17px;
    border: 1px solid #e4d5a8;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12);
}

.support-section h2 {
    color: #29251f;
}

.support-icon {
    font-size: 30px;
    margin-bottom: 4px;
}

.support-section p {
    color: #766e60;

    line-height: 1.8;
    font-size: 13px;

    margin: 5px 0;
}

.support-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;
    margin-top: 12px;
}

.support-buttons a {
    padding: 8px 14px;

    background: #173f34;
    color: #fffdf7;

    text-decoration: none;

    border-radius: 8px;
    font-size: 12px;
}

.support-buttons a:hover {
    background: #0b2f27;
}

/* =========================
   FOOTER
========================= */

footer {
    text-align: center;

    padding: 18px 10px;

    background: #08271f;
    color: #d9d1bf;

    font-size: 11px;
}

footer p {
    margin: 4px 0;
}

/* =========================
   COPY TOAST
========================= */

#copy-toast {
    position: fixed;

    bottom: 18px;
    left: 50%;

    transform:
        translateX(-50%)
        translateY(80px);

    background: #173f34;
    color: #fffdf7;

    padding: 9px 16px;

    border-radius: 20px;

    font-size: 12px;

    opacity: 0;

    transition: all 0.25s ease;

    z-index: 9999;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.25);
}

#copy-toast.show {
    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .header {
        width: calc(100% - 16px);
        padding: 14px 0 12px;
    }

    .logo-container {
        width: calc((100% - 8px) / 2);
        max-width: none;
        aspect-ratio: 1 / 1;
        margin: 0 auto 15px;
    }

    .logo-image {
        width: 100%;
        height: 100%;
    }

    section {
        width: calc(100% - 16px);
        margin-bottom: 22px;
    }

    section h2 {
        font-size: 18px;
        margin-bottom: 11px;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .link-card {
        padding: 11px 7px;
        border-radius: 12px;
    }

    .app-icon {
        width: 44px;
        height: 44px;
        border-radius: 11px;
        margin-bottom: 7px;
    }

    .app-icon svg {
        width: 24px;
        height: 24px;
    }

    .image-icon img {
        border-radius: 11px;
    }

    .link-card h3 {
        font-size: 14px;
    }

    .username {
        min-height: 28px;
        font-size: 10px;
    }

    .open-button,
    .copy-button {
        font-size: 10px;
        padding: 7px 3px;
        margin-top: 4px;
        border-radius: 7px;
    }

    .phone-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .phone-card {
        padding: 12px 6px;
        border-radius: 12px;
    }

    .phone-icon {
        font-size: 20px;
    }

    .phone-card a {
        font-size: 13px;
    }

    .phone-card button {
        font-size: 10px;
        padding: 6px 8px;
    }

    .address-section {
        padding: 17px 11px;
    }

    .address-section p {
        font-size: 12px;
    }

    .support-section {
        padding: 18px 12px;
    }

    .support-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }

    .support-buttons a {
        font-size: 11px;
        padding: 8px 4px;
    }
}

/* =========================
   VERY SMALL PHONES
========================= */

@media (max-width: 380px) {

    .logo-container {
        width: 120px;
        height: 120px;
    }

    .logo-image {
        width: 120px;
        height: 120px;
    }

    .links-grid,
    .phone-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .link-card h3 {
        font-size: 13px;
    }
}
