/* =====================================================
   PETRA COFFEE STYLE - Modern Coffee Roasting Design
   ===================================================== */

/* Font Setup */
* {
    font-family: 'Inconsolata', monospace;
}

body {
    font-family: 'Inconsolata', monospace;
    letter-spacing: 0.3px;
}

/* Header Refinements */
.header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    position: relative !important;
}

.header-top {
    display: none; /* Üst menü gizlendi */
}

.header-middle {
    position: relative !important;
    background: #ffffff !important;
}

/* Sticky özelliğini kaldır ama header'ı göster */
.header-middle.sticky-header {
    position: relative !important;
    top: auto !important;
    padding-right: 10px;
}

body .sticky-wrapper {
    height: auto !important;
}

body .sticky-header.fixed {
    position: relative !important;
}

/* Header Right Icons - Petra Coffee Style */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-search,
.account,
.cart-dropdown {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cart-dropdown {
    margin-left: -10px;
}

.header-search .search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444444;
    transition: color 0.3s ease;
}

.header-search .search-toggle:hover {
    color: #8b7355;
}

.header-search .search-toggle i {
    font-size: 28px;
}

.account a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444444;
    transition: color 0.3s ease;
    text-decoration: none;
}

.account a:hover {
    color: #8b7355;
}

.account a i {
    font-size: 28px;
}

.cart-dropdown > a.dropdown-toggle {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #444444 !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cart-dropdown > a.dropdown-toggle:hover {
    color: #8b7355 !important;
}

.cart-dropdown > a.dropdown-toggle i.icon-shopping-cart {
    font-size: 28px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header .header-right .dropdown.cart-dropdown {
    display: flex !important;
    align-items: center !important;
}

.header .header-right .dropdown.cart-dropdown > a {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.header .header-right .cart-count {
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    font-family: 'Inconsolata', monospace !important;
    font-weight: 700 !important;
    background-color: #1a1a1a !important;
    font-size: 11px !important;
    min-width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    text-align: center !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.main-nav .menu > li > a {
    font-family: 'Inconsolata', monospace;
    font-weight: 800 !important;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #444444;
    transition: color 0.3s ease;
    padding: 1rem 1.2rem;
}

.main-nav .menu > li > a:hover {
    color: #8b7355;
}

.main-nav .menu > li {
    margin-right: 2px !important;
    margin-left: 2px !important;
}

/* Menü linkleri padding düzeltmesi */
.menu li > a {
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
}

/* Video Hero Section */
.video-hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

/* Feature Boxes */
.petra-features {
    padding: 100px 0;
    background: #f8f5f2;
}

.feature-box {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-box i {
    font-size: 48px;
    color: #8b7355;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-family: 'Inconsolata', monospace;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-box p {
    font-family: 'Inconsolata', monospace;
    font-size: 15px;
    font-weight: 400;
    color: #666;
    line-height: 1.7;
}

/* Story Section */
.petra-story {
    padding: 100px 0;
    background: #ffffff;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    font-family: 'Inconsolata', monospace;
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.story-content p {
    font-family: 'Inconsolata', monospace;
    font-size: 18px;
    font-weight: 400;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Product Grid Enhancements */
.product-title {
    font-family: 'Inconsolata', monospace;
    font-weight: 600;
}

.product-price {
    font-family: 'Inconsolata', monospace;
    font-weight: 700;
}

/* Buttons Global Style */
.btn-primary,
.btn-demoprimary {
    font-family: 'Inconsolata', monospace;
    font-weight: 600;
    letter-spacing: 1px;
    background: #8b7355;
    border-color: #8b7355;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-demoprimary:hover {
    background: #6f5a44;
    border-color: #6f5a44;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .video-content h1 {
        font-size: 48px;
    }

    .video-content p {
        font-size: 18px;
    }

    .video-hero-section {
        height: 70vh;
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .video-content h1 {
        font-size: 36px;
    }

    .video-content p {
        font-size: 16px;
    }

    .video-cta {
        padding: 14px 36px;
        font-size: 14px;
    }

    .video-hero-section {
        height: 60vh;
        min-height: 450px;
    }

    .petra-features,
    .petra-story {
        padding: 60px 0;
    }

    .story-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .video-content h1 {
        font-size: 28px;
    }

    .video-content p {
        font-size: 14px;
    }

    .video-hero-section {
        height: 50vh;
        min-height: 400px;
    }
}

/* Menu Dropdown Enhancements */
.acilirmenu {
    font-family: 'Inconsolata', monospace;
}

.menubaslik {
    font-family: 'Inconsolata', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Enhancements */
.footer {
    font-family: 'Inconsolata', monospace;
}

.footer h4 {
    font-family: 'Inconsolata', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Icon Refinements */
.icon-shopping-cart,
.icon-heart-o,
.icon-search {
    font-family: inherit;
}

/* Banner Content */
.banner-content h3 {
    font-family: 'Inconsolata', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cart and Wishlist Badges */
.cart-count,
.wishlist-count {
    font-family: 'Inconsolata', monospace;
    font-weight: 700;
}

/* Petra Style Mega Menu - Split Layout */
.main-nav .menu > li {
    position: static !important;
}

/* Mega menu container */
.main-nav .menu > li:hover .acilirmenu,
.main-nav .menu > li .acilirmenu:hover {
    display: block !important;
}

.acilirmenu {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    width: 100vw !important;
    background: #ffffff !important;
    border: none !important;
    border-top: 1px solid #e7e7e7 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    padding: 40px !important;
    margin: 0 !important;
    display: none !important;
    z-index: 9999 !important;
}

.acilirmenu::after {
    content: "";
    display: table;
    clear: both;
}

/* Sol taraf - Alt kategorisi olmayan basit kategoriler */
.mega-menu-left {
    float: left !important;
    width: 200px !important;
    padding-right: 50px !important;
    border-right: 1px solid #f0f0f0 !important;
    list-style: none !important;
    margin: 0 !important;
}

.simple-category {
    margin-bottom: 15px !important;
}

.simple-category a {
    font-family: 'Inconsolata', monospace !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    display: block !important;
}

.simple-category a:hover {
    color: #8b7355 !important;
}

/* Sağ taraf - Alt kategorili olanlar */
.menudis {
    width: auto !important;
    float: left !important;
    padding: 0 50px 0 50px !important;
    margin: 0 0 40px 0 !important;
    border-right: 1px solid #f0f0f0 !important;
    min-width: 200px !important;
    max-width: 250px !important;
    list-style: none !important;
    vertical-align: top !important;
}

.menudis:last-child {
    border-right: none !important;
}

/* Ana kategori başlığı */
.menubaslik {
    font-family: 'Inconsolata', monospace !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    display: block !important;
    padding-bottom: 0 !important;
    border: none !important;
    text-decoration: none !important;
}

.menubaslik:hover {
    color: #8b7355 !important;
}

.menudis ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.menudis ul li {
    margin-bottom: 10px !important;
    list-style: none !important;
}

.menudis ul li a {
    font-family: 'Inconsolata', monospace !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #666666 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: block !important;
    text-transform: none !important;
}

.menudis ul li a:hover {
    color: #1a1a1a !important;
}

/* Override styles */
.main-nav .menu > li:hover > ul.acilirmenu,
.main-nav .menu > li > ul.acilirmenu:hover {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.db {
    display: none !important;
}

#ozelmenu {
    cursor: pointer;
}

.main-nav {
    position: relative !important;
}

.main-nav .menu {
    position: relative !important;
}


/* Force Cart Icon Visibility - Override All */
body .header .header-middle .header-right .dropdown.cart-dropdown,
body .page-wrapper .header .header-middle .header-right .dropdown.cart-dropdown {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body .header .header-middle .header-right .dropdown.cart-dropdown > a,
body .page-wrapper .header .header-middle .header-right .dropdown.cart-dropdown > a {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body .header .header-middle .header-right .dropdown.cart-dropdown > a > i,
body .page-wrapper .header .header-middle .header-right .dropdown.cart-dropdown > a > i.icon-shopping-cart {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 28px !important;
}
