/* 
* Trakya Hali - Main Stylesheet
* Modern, responsive design with agricultural theme colors
*/

/* ===== Base Styles ===== */
:root {
    /* Color Palette - Agricultural Theme */
    --primary-color: #4a8e39;      /* Green - represents growth and agriculture */
    --secondary-color: #b99557;    /* Gold/Bronze - from logo */
    --accent-color: #2ecc71;       /* Light green - for highlights */
    --dark-color: #2c3e50;         /* Dark blue-gray - for text and footer */
    --light-color: #ecf0f1;        /* Light gray - for backgrounds */
    --white-color: #ffffff;        /* White - for cards and contrast */
    --text-color: #333333;         /* Dark gray - for main text */
    --border-color: #dddddd;       /* Light gray - for borders */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    scroll-behavior: smooth;
}

body.menu-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--dark-color);
}

p {
    margin-bottom: 15px;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 30px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
    box-shadow: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    letter-spacing: 0.5px;
}

.section-intro {
    max-width: 800px;
    margin: 25px auto 35px;
    text-align: center;
    line-height: 1.7;
    color: var(--dark-color);
    font-size: 17px;
}

.underline {
    height: 4px;
    width: 70px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

section {
    padding: 60px 0;
}

/* ===== Header Styles ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white-color);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.logo img {
    height: 75px;
    display: block;
}

nav {
    display: block;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 6px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-link {
    position: relative;
    padding: 5px 0;
    color: var(--dark-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Eski header-content stilini kaldırdık */

.logo img {
    height: 60px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .logo img {
        height: 45px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white-color);
        z-index: 1001;
        padding: 80px 20px 20px;
        transition: all 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul li a {
        font-size: 16px;
    }
    
    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        background-color: var(--white-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);
        transition: transform 0.5s ease;
        padding: 50px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        gap: 30px;
        z-index: 1000;
    }
    
    .nav-links.nav-active {
        transform: translateX(0);
    }
    
    .burger {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 1002;
    }
    
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .burger.toggle .line2 {
        opacity: 0;
    }
    
    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Burger menü stilleri */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

@media screen and (max-width: 768px) {
    .burger {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.burger div {
    width: 30px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/trakya-hali.jpg') no-repeat center center/cover;
    color: var(--white-color);
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: var(--white-color);
    font-size: 24px;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--white-color);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.trakya-slogan {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.7px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== About Section ===== */
.about {
    background-color: var(--white-color);
    padding: 80px 0;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.about-text strong {
    color: var(--dark-color);
    font-weight: 700;
}

.about-text em {
    color: var(--dark-color);
    font-style: italic;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto 40px;
}

.about-text {
    width: 100%;
}

.features-section {
    background-color: var(--light-color);
    padding: 40px 0;
    margin-top: 20px;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.feature {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

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

.feature-icon {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ===== Products Section ===== */
.products {
    background-color: var(--light-color);
    padding: 80px 0;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.category {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-image img {
    transition: transform 0.5s ease;
}

.category:hover .category-image img {
    transform: scale(1.05);
}

.category {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

.category-content {
    padding: 25px;
}

.category-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-content ul {
    margin-top: 15px;
}

.category-content ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.category-content ul li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 18px;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--white-color);
    padding: 80px 0;
}

.contact-info {
    transition: transform 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
}

.contact-info i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.contact-info:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
}

.info-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Footer Section ===== */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo,
.footer-links,
.footer-contact,
.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: var(--white-color);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-color);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.info-text a, .footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover, .footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Animation Styles ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Add animation delay for staggered effect */
.product-categories .category:nth-child(1) {
    transition-delay: 0.1s;
}

.product-categories .category:nth-child(2) {
    transition-delay: 0.2s;
}

.product-categories .category:nth-child(3) {
    transition-delay: 0.3s;
}

.product-categories .category:nth-child(4) {
    transition-delay: 0.4s;
}

.product-categories .category:nth-child(5) {
    transition-delay: 0.5s;
}

.product-categories .category:nth-child(6) {
    transition-delay: 0.6s;
}

/* Active nav link style */
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary-color);
}

/* ===== Mobile Menu ===== */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-toggle a {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

/* ===== Responsive Styles ===== */
@media screen and (max-width: 992px) {
    .section-header h2 {
        font-size: 32px;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    header .container {
        position: relative;
        flex-wrap: wrap;
    }
    
    .logo {
        flex: 1;
    }
    
    .mobile-menu-toggle {
        display: block;
        text-align: right;
        flex: 1;
    }
    
    .main-nav {
        flex-basis: 100%;
        display: none;
        margin-top: 15px;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .main-nav ul li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-nav ul li a {
        padding: 12px 0;
        display: block;
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
}
    
@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-content {
        gap: 30px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .feature,
    .category {
        min-width: 100%;
    }
}
