:root{
    --brand:#7c3aed; /* violet */
    --brand-2:#ff2d89; /* pink */
    --dark-1:#0b0e18;
    --dark-2:#14182a;
}

body, input, button, select, textarea {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 500;
    font-size: 13px;
}

body{background:#fff; font-family: 'Open Sans', sans-serif; font-weight: 500;
    font-size: 13px;}

#freeDropdown {
    position: relative;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 28px;
    background:
            linear-gradient(#fff, #fff) padding-box,               /* içi ağ */
            linear-gradient(90deg, #e70d67, #0d5eff) border-box;  /* border gradient */
    border: 2px solid transparent;
    color: #000;
    transition: 0.3s;
}
/* NAVBAR */
.navbar-brand strong{letter-spacing:.2px}
.btn-gradient{
    background:#ff2d89;
    color:#fff;border:none
}
.btn-gradient:hover, .btn-gradient:active {filter:brightness(1.05);color:#fff}
/* Login düyməsi: sadə qara yazı, hover effekti ilə */
.btn-login {
    color: #000;
    background-color: transparent;
    border: 1px solid transparent;
    transition: color 0.2s ease;
}
.btn-login:hover {
    color: var(--brand); /* və ya sadəcə #7c3aed */
}
/* JOIN NOW düyməsi (btn-outline-dark) üçün override */
.btn-outline-dark {
    color: #fff; /* yazı rəngi ağ */
    border-color: #fff;
}
.btn-outline-dark:hover {
    background-color: #fff; /* hoverda fon ağ olsun */
    color: #000; /* hoverda yazı qara olsun */
    border-color: #fff;
}
/*xett*/
.custom-divider {
    width: 1px;
    height: 36px; /* daha uzun – istəyə görə artırıla bilər */
    background-color: #000; /* qara */
}
/* PRICING düyməsi (btn-gradient) */
.btn-gradient {
   /* background-color: var(--brand-2); *//* sadə pink */
    color: #fff;
    border: none;
    transition: background-color 0.3s ease, filter 0.3s ease;
}

.btn-gradient:hover, .btn-gradient:active {
    background-color: #e02676; /* daha tünd pink tonu */
    color: #fff;
}
/*Badge*/
.badge-free {
    background-color: white !important;
    color: black !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.badge-buy {
    background-color: #ff2d89 !important;
    color: white !important;
}
.badge-ae {
    background-color: white !important;
    color: black !important;
    padding: 0.25em 0.6em;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
}
/* HERO */
.hero {
    min-height: 60vh; /* ekranın 60%-i qədər */
    background-image: url('/img/main-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center; /* dikey ortalama */
    color: white; /* əgər fon tündsə */
}
.hero .container-xxl {
    z-index: 2;
    position: relative;
    text-align: center;
}

.hero .overlay-grid{
    position:absolute;inset:0;pointer-events:none;opacity:.25;
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.2));
}
.search-wrap{max-width:750px; max-height: 100px}

.input-group {
    border-radius: 50rem; /* Ümumi yuvarlaq künc */
}

/* Input sahəsinin sol tərəfi yuvarlaq */
.form-control {
    border-top-left-radius: 50rem;
    border-bottom-left-radius: 50rem;
    padding: 20px;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 13px;
    font-style: italic;
}
input[name="q"] {
    font-style: normal; /* Normal yazı */
    font-size: 0.9rem;   /* (istəyə görə) kiçik şrift */
}
input[name="q"]::placeholder {
    color: #bababa;
    opacity: 1; /* Firefox üçün */
}
input[name="q"]::-webkit-input-placeholder {
    color: #bababa;
}
input[name="q"]:-ms-input-placeholder {
    color: #bababa;
}
.rounded-pill-left{border-top-left-radius:80rem !important; border-bottom-left-radius:80rem !important;
    color: #bababa;
    font-family: 'Open Sans', sans-serif; font-weight: 500;
    font-size: 16px !important;
    font-style: italic !important;
    padding-left: 25px !important;
}
.rounded-pill-right{border-top-right-radius:50rem !important;border-bottom-right-radius:50rem !important;}
.select-short {width: 10% !important;min-width: 120px; /* Çox kicik olmasin */  }
.input-group-bordered {
    /*  border-radius: 60%;*/
}
.input-group-lg {
    height: 65px;
    color: #bababa;
    font-family: 'Open Sans', sans-serif; font-weight: 500;
    font-size: 13px;
    font-style: italic;
}
/* CARDS */
.cta {
   /* background: linear-gradient(180deg, #0b0e18, #14182a);*/
    background-color: #080f24;
    color: #fff;
    /* border-radius: 1.5rem;*/
    min-height: 300px; /* ya da daha çox */
}
/* FOOTER */
footer{border-top:1px solid rgba(0,0,0,.07)}
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    position: relative;
}

/* Kart özülü */
/*templates*/
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    position: relative;
}

/* Kart özülü */
.template-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #0d0f1d;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
}

/* Şəkil və video */
.template-item img,
.template-item video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: 0.3s;
}

/* Fərqli ölçülər */

/* Responsive Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, 146px); /*!* Sabit sütun ölçüsü *!*/
    grid-auto-rows: 320px; /*!* Sabit hündürlük *!*/
    gap: 1rem;
    justify-content: start;
}

.template-card {
    background-color: transparent;
    /*border: 1px solid #ccc;*/
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.full-width-wrapper {
    width: 100%;
    padding: 0 1rem; /* Ən kənar boşluğu azalt, istəsən 0 da edə bilərsən */
    margin: 0 auto;
    background-color: #080f24;
}
/* Tiplərə görə grid-span verilir */
/*.grid-layout {
    display: grid;
   grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
   !* grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));*!

    gap: 0.75rem;
    justify-content: center;
    max-width: 100%;
    grid-auto-flow: dense;
}*/

.grid-layout {
    display: grid;
    gap: 0.75rem;
    justify-content: center;
    max-width: 100%;
    grid-auto-flow: dense;
}

/* 📱 Mobil vertical (portrait) — 1 sütun */
@media (max-width: 767px) and (orientation: portrait) {
    .grid-layout {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 📱 Mobil horizontal (landscape) — 6 sütun */
@media (max-width: 767px) and (orientation: landscape) {
    .grid-layout {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 💻 Normal notebook və yuxarı ekranlar — 9 sütun */
@media (min-width: 768px) {
    .grid-layout {
        grid-template-columns: repeat(9, 1fr);
    }
}

/* 🖥️ Əgər çox böyük ekran olsa belə, 9 sütun sabit qalacaq */
@media (min-width: 1200px) {
    .grid-layout {
        grid-template-columns: repeat(9, 1fr);
    }
}


.template-card {
    display: flex;
    flex-direction: column;
    height: 100%;
   /* border: 1px solid #ccc;*/
    /*background: #fff;*/
    overflow: hidden;
}

/* WIDTH-i span sayına uyğun veririk */

.template-card.vertical {
    grid-column: span 1;
}

.template-card.square {
    grid-column: span 2;
}

.template-card.horizontal {
    grid-column: span 3;
}


/*.media-element {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover !important;*/
/*    display: block;*/
/*}*/
.media-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 3px solid white;
}

.media-wrapper .media-element {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: opacity 0.3s ease; /* smooth keçid */
}

.media-wrapper .preview-img {
    opacity: 1;
    z-index: 2;
}

.media-wrapper .preview-video {
    opacity: 0;
    z-index: 1;
}

.media-wrapper video{
    position: absolute;
    top: 0;
}

.card-footer {
    position: absolute;;
    bottom: 0px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0 0.5rem;
    background: transparent;
}
.badge {
    font-size: 0.75rem;
    /*padding: 2px 6px;*/
    border-radius: 4px;
}
/*Badge*/
.badge-free {
    background-color: white !important;
    color: black !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.badge-buy {
    background-color: #ff2d89 !important;
    color: white !important;
}
.badge-ae {
    background-color: white !important;
    color: black !important;
    padding: 0.25em 0.6em;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
}
@media (max-width: 480px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
    .template-card {
        width: 100% !important;
        grid-column: span 1 !important;
    }
}


.template-card a {
    display: block;
    height: 100%;
    width: 100%;
    color: inherit;
    text-decoration: none;
}


.social-icon {
    font-size: 1.2rem;
    color: white;
    transition: color 0.3s ease;
}
.social-icon:hover {
    color: #ffc107; /* Hover effekti üçün sarı rəng, dəyişə bilərsən */
}
.navigationText h5 {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;         /* ExtraBold */
    letter-spacing: .3px;
    margin: 0 0 8px 0;
    color: var(--white);
}

.navigationText li {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
}

/* Dropdown ümumi stil */
.dropdown-menu {
    background-color: #000; /* qara fon */
    border: 1px solid #444; /* boz sərhəd */
    border-radius: 6px; /* yumşaq künclər */
    padding: 0.5rem;
}

/* Hər bir element */
.dropdown-item {
    color: #fff; /* ağ yazı */
    border: 1px solid transparent;
    border-radius: 4px;
    margin: 2px 0;
    transition: all 0.2s ease-in-out;
}

/* Hover effekti */
.dropdown-item:hover {
    background-color: #222; /* hoverda bir az açıq qara */
    border: 1px solid #666;
    color: #fff;
}

/* Divider rəngi */
.dropdown-divider {
    border-top: 1px solid #555;
}

/* Sign out qırmızı xüsusi */
.dropdown-item.text-danger {
    color: #ff4d4d;
}

.dropdown-item.text-danger:hover {
    background-color: #330000;
    border: 1px solid #800000;
}

/*browse more*/
.browse-more-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #080f24;
    width: 100%;
}

.browse-more-btn {
    padding: 15px 25px;
    border-radius: 19px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    text-decoration: none;
    font-size: 23px;
    background:
            linear-gradient(#080f24, #080f24) padding-box,               /* içi ağ */
            linear-gradient(90deg, #e70d67, #0d5eff) border-box;  /* border gradient */
    border: 3px solid transparent;
    color: #fff;
    transition: 0.3s;
    cursor: pointer;
}

.browse-more-btn:hover {
    background-color: #333;
    transform: scale(1.05);
}


/* FAQ Styling */
/*.ta-wrap { margin-top: 60px; margin-bottom: 60px; max-width: var(--ta-maxw); padding-inline: clamp(16px,4vw,40px); }
.ta-title { font-weight: var(--ta-light); font-size: clamp(26px, 4.2vw, var(--ta-title)); margin-bottom: var(--ta-space); letter-spacing: .1px; }
.ta-body{ font-weight: var(--ta-regular); font-size: clamp(15px, 1.2vw, var(--ta-body)); line-height: 1.75; }
.ta-sep{ height: 1px; background: rgba(0,0,0,.08); margin: var(--ta-space) 0; }
.ta-note{ font-style: italic; opacity: .9; }*/

.ta-wrap{
    margin-inline:auto;
    padding: clamp(16px, 4vw, 40px);
    max-width: var(--ta-maxw);
    font-family: "Open Sans", Arial, sans-serif;
    color:#1d1f23;
}

.ta-title{
    font-weight: var(--ta-light);
    font-size: clamp(26px, 4.2vw, var(--ta-title));
    line-height: 1.25;
    margin-bottom: var(--ta-space);
    letter-spacing:.1px;
}

.ta-body{
    font-weight: var(--ta-regular);
    font-size: clamp(15px, 1.2vw, var(--ta-body));
    line-height: 1.75;
    padding-left: 20%;
    padding-right: 20%;
}

/* Yalnız açıq accordion header qara fon, ağ mətn */
.accordion-button.collapsed {
    background-color: #fff; /* bağlanmış header üçün fon */
    color: #000;            /* bağlanmış header üçün text */
}

.accordion-button:not(.collapsed) {
    background-color: #080f24 !important; /* açıq header üçün fon */
    color: #fff !important;            /* açıq header üçün text */
    font-weight: 600;
}
/* Chevron/arrow simvolunu ağ etmək */
.accordion-button:not(.collapsed)::after {
    filter: invert(1);  /* simvolu ağ göstərir */
}

/* Mobile üçün (≤768px) */
@media (max-width: 768px) {
    .accordion-button {
        font-size: 14px;     /* daha kiçik font */
        font-weight: 500;    /* bir az yüngül */
        padding: 10px 15px;  /* vertical və horizontal padding */
    }

    .accordion-body {
        font-size: 13px;     /* body text də oxunaqlı olsun */
        line-height: 1.6;
    }
}