/*
Theme Name: Gasttro Tekel
Theme URI: https://gasttrotekel.com
Author: Gasttro Tekel
Author URI: https://gasttrotekel.com
Description: Modern WordPress theme for Gasttro Tekel delivery service. Features responsive design, WhatsApp integration, and service area information.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gasttro-tekel
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    font-size: 28px;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.site-logo span {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 36px;
    color: #333;
    cursor: pointer;
    z-index: 1002;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    transition: color 0.3s ease;
}

.menu-close:hover {
    color: #0066cc;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.current-menu-item {
    color: #0066cc;
}

.main-navigation a.current-menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0066cc;
}

/* Search Toggle */
.search-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: #e0e0e0;
}

.search-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Search Form */
.search-form-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 999;
}

.search-form-wrapper.active {
    display: block;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-form input[type="search"]:focus {
    border-color: #0066cc;
}

.search-form button[type="submit"] {
    background: #0066cc;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.search-form button[type="submit"]:hover {
    background: #0052a3;
}

.search-close {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.search-close:hover {
    color: #333;
}

.phone-button {
    background: #0066cc;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.phone-button:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.phone-icon {
    font-size: 18px;
}

.phone-text {
    font-size: 16px;
}

/* Slider Section */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-content {
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 20px;
}

.slider-content h1 {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.delivery-badge {
    background: #FFD700;
    color: #333;
    padding: 10px 30px;
    display: inline-block;
    margin: 20px 0;
    font-weight: 600;
    border-radius: 5px;
}

.slider-phone-button {
    background: #0066cc;
    color: #fff;
    padding: 18px 40px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.slider-phone-button:hover {
    background: #0052a3;
    transform: scale(1.05);
}

/* Section Scroll Offset */
section[id] {
    scroll-margin-top: 100px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #0066cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #fff;
    padding: 15px;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 16px;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 50px;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.content-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.content-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

/* Service Areas */
.service-areas-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.area-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.area-item:hover {
    background: #0066cc;
    color: #fff;
    transform: translateY(-5px);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f0f0f0;
    display: block;
}

.product-title {
    padding: 25px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #0066cc;
    color: #fff;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    font-size: 24px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 16px;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo-section {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Contact Info Styles */
.footer-contact .contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #ccc;
}

.contact-icon-circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #0066cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.contact-icon-circle svg {
    width: 18px;
    height: 18px;
}

.contact-info-text {
    flex: 1;
    line-height: 1.6;
}

.contact-info-text strong {
    color: #fff;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.contact-info-text a {
    color: #ccc;
    transition: color 0.3s ease;
}

.contact-info-text a:hover {
    color: #0066cc;
}

/* Service Areas Styles */
.footer-areas h3 {
    margin-bottom: 20px;
}

.footer-areas-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-areas-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-areas-list li {
    margin-bottom: 12px;
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-areas-list li:hover {
    color: #fff;
}

.footer-bottom {
    text-align: left;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}


/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #0066cc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card,
.product-card,
.area-item {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.3s ease;
}

.feature-card.animate-in,
.product-card.animate-in,
.area-item.animate-in {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-areas-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .header-content {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .header-left {
        flex: 1;
        gap: 10px;
    }

    .site-logo {
        font-size: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        z-index: 1001;
        padding: 60px 20px 20px;
        overflow-y: auto;
    }

    .main-navigation.active {
        left: 0;
    }
    
    body.menu-open .main-navigation {
        left: 0;
    }

    .menu-close {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation a {
        display: block;
        padding: 15px 0;
        font-size: 18px;
    }

    .main-navigation a.current-menu-item::after {
        display: none;
    }

    .main-navigation a.current-menu-item {
        color: #0066cc;
        font-weight: 600;
    }

    .header-right {
        gap: 10px;
    }

    .phone-button {
        padding: 10px 16px;
        font-size: 14px;
    }

    .phone-text {
        display: none;
    }

    .phone-icon {
        font-size: 20px;
    }

    .search-toggle {
        padding: 6px;
        color: #333;
    }
    
    .search-toggle:hover {
        color: #0066cc;
    }

    .slider-content h1 {
        font-size: 36px;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .site-logo {
        font-size: 18px;
    }

    .phone-button {
        padding: 8px 12px;
    }

    .slider-content h1 {
        font-size: 28px;
    }

    .delivery-badge {
        font-size: 14px;
        padding: 8px 20px;
    }

    .slider-phone-button {
        padding: 14px 30px;
        font-size: 16px;
    }
}

