
/* ==========================================
   ABOUT US - CONTACT & SOCIAL MEDIA
========================================== */

.ac-contact {
    padding: 110px 6%;
    overflow: hidden;

    background:
      linear-gradient(
        rgba(6,12,27,.36),
        rgba(6,12,27,.36)
      ),
      url("../meeting-rooms/assets/meeting-dark-background.png")
      center / cover no-repeat;

    color: #f7f4ee;
}

.ac-contact * ,
.ac-dialog *,
.ac-footer * {
    box-sizing: border-box;
}

.ac-layout {
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns:
      minmax(0,1.08fr)
      minmax(0,.92fr);

    gap: clamp(40px,6vw,95px);
    align-items: center;
}

.ac-eyebrow {
    color: #b59b6a;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.ac-left h2,
.ac-right h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem,5vw,5rem);
    font-weight: 400;
    line-height: 1.04;
    margin: 15px 0 32px;
}

.ac-left h2 em,
.ac-right h2 em {
    color: #b59b6a;
    font-weight: 400;
}

/* SOCIAL CARDS */

.ac-social-cards {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
    max-width: 580px;
}

.ac-social-card {
    min-width: 0;
    transition: transform .4s ease;
}

.ac-image-link {
    display: block;
    aspect-ratio: 9 / 16;

    padding: 6px;
    overflow: hidden;

    background: #f7f4ee;
    border: 1px solid #b59b6a;
    border-radius: 22px;

    box-shadow: 0 22px 50px rgba(0,0,0,.22);

    transition:
      box-shadow .4s ease,
      border-color .4s ease;
}

.ac-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;

    transition: transform .55s ease;
}

.ac-social-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-top: 17px;
    padding: 15px 20px;

    background:
      url("../assets/welcome-background.png")
      center / cover no-repeat #f7f4ee;

    border: 1px solid rgba(181,155,106,.6);
    border-radius: 999px;

    font-family: "DM Sans",sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #101c2a;
    text-decoration: none;

    transition:
      transform .35s ease,
      box-shadow .35s ease;
}

.ac-social-button span {
    color: #a58b60;
    font-size: 18px;
}

/* CONTACT INFORMATION */

.ac-right {
    padding: clamp(24px,3vw,45px);
    background: rgba(7,15,29,.26);
    border: 1px solid rgba(181,155,106,.23);
    border-radius: 25px;
}

.ac-description {
    color: #d6d2df;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 32px;
}

.ac-contact-links {
    display: grid;
    gap: 15px;
}

.ac-link-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 19px 23px;

    background: rgba(7,15,29,.65);
    border: 1px solid rgba(181,155,106,.4);
    border-radius: 15px;

    color: #f7f4ee;
    text-decoration: none;

    transition:
      transform .35s ease,
      background .35s ease,
      border-color .35s ease;
}

.ac-link-tile > span:first-child {
    color: #b59b6a;
    font-size: 10px;
    letter-spacing: 2px;
}

.ac-link-tile strong {
    font-size: 14px;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.ac-link-arrow {
    position: absolute;
    top: 22px;
    right: 22px;
    color: #b59b6a;
}

.ac-contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    margin-top: 24px;
    padding: 19px 24px;

    background: #b59b6a;
    color: #101c2a;

    border: 1px solid #b59b6a;
    border-radius: 999px;

    font-family: "DM Sans",sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;

    transition:
      transform .35s ease,
      background .35s ease,
      box-shadow .35s ease;
}

/* HOVER INTERACTIONS */

@media (hover:hover) and (pointer:fine) {
    .ac-social-card:hover {
        transform: translateY(-9px);
    }

    .ac-social-card:hover img {
        transform: scale(1.045);
    }

    .ac-social-card:hover .ac-image-link {
        box-shadow:
          0 30px 60px rgba(0,0,0,.33),
          0 0 22px rgba(181,155,106,.26);
    }

    .ac-social-card:hover .ac-social-button {
        box-shadow: 0 8px 25px rgba(181,155,106,.22);
    }

    .ac-link-tile:hover {
        transform: translateX(6px);
        background: rgba(181,155,106,.14);
        border-color: #b59b6a;
    }

    .ac-contact-button:hover {
        transform: translateY(-4px);
        background: #dbc395;
        box-shadow: 0 13px 30px rgba(181,155,106,.25);
    }
}

/* FOOTER */

.ac-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 35px 7%;
    min-height: 110px;

    background:
      url("../meeting-rooms/assets/meeting-dark-background.png")
      center / cover no-repeat #101c2a;

    border-top: 1px solid rgba(181,155,106,.35);
}

.ac-footer span,
.ac-footer a {
    font-family: "DM Sans",sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
}

.ac-footer span {
    color: #f7f4ee;
}

.ac-footer a {
    color: #b59b6a;
    text-decoration: none;
}

/* CONTACT MODAL */

.ac-dialog {
    width: min(92vw,540px);
    max-height: 90dvh;
    margin: auto;

    padding: clamp(25px,4vw,42px);
    overflow-y: auto;

    color: #f7f4ee;
    background: #101c2a;

    border: 1px solid rgba(181,155,106,.7);
    border-radius: 22px;

    box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

.ac-dialog::backdrop {
    background: rgba(3,8,18,.83);
    backdrop-filter: blur(8px);
}

.ac-dialog-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.ac-dialog-heading h2 {
    margin: 5px 0 25px;
    font-family: "Cormorant Garamond",serif;
    font-weight: 400;
    font-size: 3rem;
}

.ac-dialog-close {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid #b59b6a;
    border-radius: 50%;
    background: transparent;
    color: #f7f4ee;
    font-size: 28px;
    cursor: pointer;
}

.ac-form {
    display: grid;
    gap: 12px;
}

.ac-form label {
    color: #b59b6a;
    font-size: 10px;
    letter-spacing: 2px;
}

.ac-form input,
.ac-form textarea {
    width: 100%;
    padding: 15px 16px;
    margin-bottom: 10px;

    font: 14px "DM Sans",sans-serif;

    color: #101c2a;
    background: #f7f4ee;

    border: 1px solid rgba(181,155,106,.6);
    border-radius: 10px;
}

.ac-submit {
    margin-top: 10px;
    padding: 16px;
    border: 0;
    border-radius: 999px;

    background: #b59b6a;
    color: #101c2a;
    font-weight: 700;
    letter-spacing: 1px;
}

.ac-submit:disabled {
    opacity: .58;
    cursor: not-allowed;
}

.ac-form-note {
    margin: 0;
    color: #d5d0dd;
    font-size: 12px;
    line-height: 1.6;
}

.ac-contact a:focus-visible,
.ac-contact button:focus-visible,
.ac-dialog button:focus-visible {
    outline: 2px solid #dbc395;
    outline-offset: 4px;
}

/* SCROLL ENTRANCE ANIMATION */

@media (prefers-reduced-motion:no-preference) {
    .ac-contact.ac-motion-ready .ac-left,
    .ac-contact.ac-motion-ready .ac-right {
        opacity: 0;
        transform: translateY(35px);
        transition: opacity .9s ease, transform .9s ease;
    }

    .ac-contact.ac-motion-ready.is-visible .ac-left,
    .ac-contact.ac-motion-ready.is-visible .ac-right {
        opacity: 1;
        transform: translateY(0);
    }

    .ac-contact.ac-motion-ready .ac-right {
        transition-delay: .2s;
    }
}

/* RESPONSIVE */

@media (max-width:900px) {
    .ac-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width:600px) {
    .ac-contact {
        padding: 75px 5%;
    }

    .ac-social-cards {
        gap: 12px;
    }

    .ac-social-button {
        padding: 12px;
        font-size: 9px;
    }

    .ac-right {
        padding: 24px 18px;
    }

    .ac-footer {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

@media (prefers-reduced-motion:reduce) {
    .ac-social-card,
    .ac-image-link img,
    .ac-social-button,
    .ac-link-tile,
    .ac-contact-button {
        transition: none;
    }
}

/* ==========================================
   KARAM AL BALAD
   ANIMATED GOLDEN BORDER EFFECT
========================================== */

/* Animatable gold sweep angle */

@property --ac-gold-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes ac-gold-border-sweep {
    from {
        --ac-gold-angle: 0deg;
    }

    to {
        --ac-gold-angle: 360deg;
    }
}

/* ==========================================
   INSTAGRAM & FACEBOOK BUTTONS
========================================== */

.ac-social-button {
    border: 2px solid transparent;

    background:
        url("../assets/welcome-background.png")
        center / cover no-repeat padding-box,

        conic-gradient(
            from var(--ac-gold-angle),
            rgba(181,155,106,0.45) 0deg,
            rgba(181,155,106,0.45) 270deg,
            #fff0c4 310deg,
            #b59b6a 335deg,
            rgba(181,155,106,0.45) 360deg
        ) border-box;

    animation:
        ac-gold-border-sweep 3.5s linear infinite;
}

/* ==========================================
   CONTACT US BUTTON
========================================== */

.ac-contact-button {
    border: 2px solid transparent;

    background:
        linear-gradient(
            #b59b6a,
            #b59b6a
        ) padding-box,

        conic-gradient(
            from var(--ac-gold-angle),
            rgba(181,155,106,0.40) 0deg,
            rgba(181,155,106,0.40) 265deg,
            #fff1c7 310deg,
            #ffffff 325deg,
            #b59b6a 350deg,
            rgba(181,155,106,0.40) 360deg
        ) border-box;

    animation:
        ac-gold-border-sweep 3.5s linear infinite;
}

/* KEEP CONTACT BUTTON GOLD ON HOVER */

.ac-contact-button:hover {
    background:
        linear-gradient(
            #dbc395,
            #dbc395
        ) padding-box,

        conic-gradient(
            from var(--ac-gold-angle),
            rgba(181,155,106,0.40) 0deg,
            rgba(181,155,106,0.40) 265deg,
            #fff1c7 310deg,
            #ffffff 325deg,
            #b59b6a 350deg,
            rgba(181,155,106,0.40) 360deg
        ) border-box;

    box-shadow:
        0 12px 32px rgba(181,155,106,0.25),
        0 0 16px rgba(181,155,106,0.14);
}

/* BRIGHTER ILLUMINATION WHEN HOVERED */

.ac-social-button:hover {
    box-shadow:
        0 10px 30px rgba(181,155,106,0.24),
        0 0 16px rgba(181,155,106,0.18);
}

/* RESPECT REDUCED MOTION SETTINGS */

@media (prefers-reduced-motion: reduce) {

    .ac-social-button,
    .ac-contact-button {
        animation: none;
    }
}
/* CONTACT INFORMATION - REMOVE ITALIC */

.ac-right h2 em {
    font-style: normal !important;
}