/* ========================================
   TAWAF - Global Styles
   Hajj, Umrah & Tour Agency Template
   ======================================== */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@400;500;600;700&family=Heebo:wght@300;400;500;600;700&display=swap");

/* ========================================
   CSS Variables - Color System
   ======================================== */
:root {
    /* System Colors */
    --color-primary: #a8854e;
    --color-secondary: #947139;
    --color-text: #171717;
    --color-accent: #dcd3c7;

    /* Custom Colors */
    --color-white: #ffffff;
    --color-transparent: rgba(255, 255, 255, 0);
    --color-grey: #f2efe5;
    --color-light-brown: #f7f7f5;
    --color-white-trans: rgba(255, 255, 255, 0.82);
    --color-black-trans: rgba(35, 33, 28, 0.3);
    --color-dark-brown: #6f634e;

    /* Typography Fonts */
    --font-primary: "Fraunces", serif;
    --font-secondary: "Heebo", sans-serif;
    --font-arabic: "Times New Roman", serif;

    /* Container */
    --container-width: 1240px;

    /* Breakpoints */
    --breakpoint-mobile: 768px;
    --breakpoint-tablet: 1025px;
    --breakpoint-widescreen: 1600px;
}

/* ========================================
   CSS Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-white);
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Typography System
   ======================================== */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 18px;
}

h6 {
    font-family: var(--font-secondary);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 18px;
}

h1 {
    font-size: 84px;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

h4 {
    font-size: 38px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

h5 {
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

h6 {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.15px;
    text-transform: uppercase;
}

p {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: 0.01em;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
    flex: 1;
}

/* ========================================
   Button Styles
   ======================================== */
.btn {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
    text-decoration: none;
    box-shadow: 0 20px 50px rgba(98, 98, 98, 0.31);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 1px solid var(--color-secondary);
}

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

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

/* ========================================
   Form Styles
   ======================================== */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15px;
    color: var(--color-text);
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
select {
    width: 100%;
    font-family: var(--font-secondary);
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-white);
    border: 1px solid var(--color-light-brown);
    border-radius: 0;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

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

textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

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

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

.text-uppercase {
    text-transform: uppercase;
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-white {
    color: var(--color-white);
}

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

.bg-secondary {
    background-color: var(--color-secondary);
}

.bg-light {
    background-color: var(--color-grey);
}

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

.mb-0 {
    margin-bottom: 0;
}
.mb-1 {
    margin-bottom: 10px;
}
.mb-2 {
    margin-bottom: 20px;
}
.mb-3 {
    margin-bottom: 30px;
}
.mb-4 {
    margin-bottom: 40px;
}
.mb-5 {
    margin-bottom: 50px;
}

.mt-0 {
    margin-top: 0;
}
.mt-1 {
    margin-top: 10px;
}
.mt-2 {
    margin-top: 20px;
}
.mt-3 {
    margin-top: 30px;
}
.mt-4 {
    margin-top: 40px;
}
.mt-5 {
    margin-top: 50px;
}

.pt-0 {
    padding-top: 0;
}
.pt-1 {
    padding-top: 10px;
}
.pt-2 {
    padding-top: 20px;
}
.pt-3 {
    padding-top: 30px;
}
.pt-4 {
    padding-top: 40px;
}
.pt-5 {
    padding-top: 50px;
}
.pt-6 {
    padding-top: 60px;
}
.pt-7 {
    padding-top: 70px;
}
.pt-8 {
    padding-top: 80px;
}

.pb-0 {
    padding-bottom: 0;
}
.pb-1 {
    padding-bottom: 10px;
}
.pb-2 {
    padding-bottom: 20px;
}
.pb-3 {
    padding-bottom: 30px;
}
.pb-4 {
    padding-bottom: 40px;
}
.pb-5 {
    padding-bottom: 50px;
}
.pb-6 {
    padding-bottom: 60px;
}
.pb-7 {
    padding-bottom: 70px;
}
.pb-8 {
    padding-bottom: 80px;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

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

.justify-content-between {
    justify-content: space-between;
}

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

/* ========================================
   Image Styles
   ======================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Section Styles
   ======================================== */
.section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
}

/* ========================================
   Responsive Design - Tablet
   ======================================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 60px;
    }

    h2 {
        font-size: 45px;
    }

    h3 {
        font-size: 35px;
    }

    h4 {
        font-size: 28px;
    }

    h5 {
        font-size: 24px;
    }

    h6 {
        font-size: 16px;
    }

    .btn {
        padding: 16px 32px;
    }

    .section {
        padding: 60px 0;
    }
}

/* ========================================
   Responsive Design - Mobile
   ======================================== */
@media (max-width: 767px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 26px;
    }

    h5 {
        font-size: 22px;
    }

    p {
        font-size: 16px;
    }

    .section {
        padding: 40px 0;
    }

    .row {
        margin: 0 -10px;
    }

    .col {
        padding: 0 10px;
    }
}

/* ========================================
   Animation Classes
   ======================================== */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.fade-in-down {
    animation: fadeInDown 0.6s ease-in;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
