:root {
	--primary-color: #33a16e;
	--secondary-color: #86868b;
	--accent-color: #33a16e;
	--text-color: rgba(0,0,0,0.75);
	--background-color: #ffffff;
	--section-background: #f5f5f7;
	--menu-color-1: #4b9cd3; /* NutriScreen */
	--menu-color-2: #1e3d59; /* NutriCalc */
	--menu-color-3: #76b947; /* NutriGo */
	--menu-color-4: #ff6b6b; /* NutriPro */
	--menu-color-5: #ffc13b; /* NutriRisk */
	--menu-color-6: #6c63ff; /* NutriBib */
	--menu-color-7: #00bfa6; /* NutriBlog */
	--table-header-bg: #2c3e50; /* Urunler Tablo Baslik */
	--bs-progress-bar-bg: #33a16e !important; /* Bootstrap progress bar background */
}

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

body {
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	-webkit-font-smoothing: antialiased;
	font-weight: 300;
}

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

/* Navigation */
nav {
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(20px);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

nav .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 44px;
}

.logo {
	font-size: 1.2rem;
	font-weight: 400;
	letter-spacing: -0.5px;
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-links a {
	text-decoration: none;
	color: var(--primary-color);
	font-size: 0.9rem;
	transition: color 0.3s ease;
}

.nav-links a:hover {
	color: var(--accent-color);
}

/* Hero Section */
.hero {
	padding: 160px 0 100px;
	background: var(--background-color);
	text-align: center;
}

.hero h1 {
	font-size: 4rem;
	font-weight: 300;
	margin-bottom: 1.5rem;
	letter-spacing: -1px;
	line-height: 1.1;
	color: var(--text-color);
}

.hero p {
	font-size: 1.5rem;
	color: var(--secondary-color);
	max-width: 800px;
	margin: 0 auto;
	font-weight: 300;
}

.cta-button {
	display: inline-block;
	background: var(--accent-color);
	color: white;
	padding: 12px 30px;
	border-radius: 980px;
	text-decoration: none;
	font-size: 1.1rem;
	transition: all 0.3s ease;
}

.cta-button:hover {
	background: #2a8d5c;
	transform: scale(1.02);
}

/* Services Section */
.services {
	padding: 80px 0;
	background: var(--section-background);
}

.services h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: var(--text-color);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.service-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	transition: transform 0.3s ease;
}

.service-card:hover {
	transform: translateY(-5px);
}

.service-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.service-card h3 {
	padding: 1.5rem 1.5rem 0.5rem;
	font-size: 1.3rem;
	color: var(--text-color);
}

.service-card p {
	padding: 0 1.5rem 1.5rem;
	color: var(--secondary-color);
}

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

.about h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 2rem;
	color: var(--text-color);
}

.about-text {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	font-size: 1.2rem;
	color: var(--secondary-color);
}

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

.contact h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	font-weight: 300;
	letter-spacing: -0.5px;
	color: var(--text-color);
}

.contact-form {
	max-width: 600px;
	margin: 0 auto;
	background: #fff;
	padding: 2rem;
	border-radius: 20px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	font-size: 1rem;
	font-family: inherit;
	background-color: #fff;
	//color: var(--primary-color);
}

.form-group select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 1em;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
	height: 150px;
	resize: vertical;
	min-height: 100px;
}

.submit-button {
	width: 100%;
	padding: 12px;
	background: var(--accent-color);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 400;
}

.submit-button:hover {
	background: #2a8d5c;
	transform: translateY(-1px);
}

/* Footer */
footer {
	padding: 20px 0;
	background: var(--background-color);
	text-align: center;
	color: var(--secondary-color);
	font-size: 0.9rem;
}

/* Menu Toggle Button */
.menu-toggle {
	border: none;
	background: none;
	width: 24px;
	height: 20px;
	padding: 0;
	position: fixed;
	top: 25px;
	right: 20px;
	z-index: 9999;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--primary-color);
	position: absolute;
	left: 0;
	transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
	top: 2px;
}

.menu-toggle span:nth-child(2) {
	top: 9px;
}

.menu-toggle span:nth-child(3) {
	top: 16px;
}

/* X şekli için animasyon */
.menu-toggle.active span {
	background-color: var(--primary-color);
}

.menu-toggle.active span:nth-child(1) {
	top: 9px;
	transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
	transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
	top: 9px;
	transform: rotate(-45deg);
}

/* Fullscreen Menu */
.fullscreen-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #fff;
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.fullscreen-menu.active {
	opacity: 1;
	visibility: visible;
}

.menu-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 80px;
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
	z-index: 2200;
}

.menu-header .logo {
	font-size: 1.5rem;
	font-weight: 600;
}

.menu-content {
	margin-top: 60px;
	width: 100%;
	height: calc(100vh - 60px);
	overflow-y: auto;
	position: relative;
	z-index: 2100;
}

.menu-links {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

.menu-links li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-links li:first-child {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-links a {
	text-decoration: none;
	color: var(--primary-color);
	display: block;
	padding: 2rem;
	transition: all 0.3s ease;
}

.menu-title {
	display: block;
	font-size: 1.8rem;
	font-weight: 300;
	margin-bottom: 0.5rem;
	letter-spacing: -0.5px;
	color: var(--text-color);
}

.menu-desc {
	display: block;
	font-size: 1rem;
	color: var(--secondary-color);
	font-weight: 300;
}

/* Menu Item Hover States */
.menu-item-1:hover {
	background: #f8f9fa;
	color: var(--menu-color-1);
}

.menu-item-2:hover {
	background: #f8f9fa;
	color: var(--menu-color-2);
}

#nutriCalc::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(30, 61, 89, 0.3), #ffffff);
	transition: left 0.5s ease;
	z-index: 1;
}

#nutriCalc:hover::before {
	left: 0;
}

.menu-item-3:hover {
	background: #f8f9fa;
	color: var(--menu-color-3);
}

.menu-item-4:hover {
	background: #f8f9fa;
	color: var(--menu-color-4);
}

#nutriPro::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(255, 107, 107, 0.3), #ffffff);
	transition: left 0.5s ease;
	z-index: 1;
}

#nutriPro:hover::before {
	left: 0;
}

.menu-item-5:hover {
	background: #f8f9fa;
	color: var(--menu-color-5);
}

.menu-item-6:hover {
	background: #f8f9fa;
	color: var(--menu-color-6);
}

.menu-item-7:hover {
	background: #f8f9fa;
	color: var(--menu-color-7);
}

#nutriBib::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(108, 99, 255, 0.3), #ffffff);
	transition: left 0.5s ease;
	z-index: 1;
}

#nutriBib:hover::before {
	left: 0;
}

#nutriBlog::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(0, 191, 166, 0.3), #ffffff);
	transition: left 0.5s ease;
	z-index: 1;
}

#nutriBlog:hover::before {
	left: 0;
}

/* Tool Sections */
.tool-section {
	padding: 80px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.tool-section .container {
	position: relative;
	z-index: 1;
}

.tool-section h2 {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	font-weight: 300;
	letter-spacing: -0.5px;
	color: var(--text-color);
}

.tool-section p {
	font-size: 1.2rem;
	color: var(--secondary-color);
	max-width: 800px;
	font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
	.menu-title {
		font-size: 1.4rem;
		letter-spacing: -0.3px;
	}

	.menu-desc {
		font-size: 0.9rem;
	}

	.menu-links a {
		padding: 1.5rem 1rem;
	}

	.hero h1 {
		font-size: 2.5rem;
		letter-spacing: -0.5px;
	}

	.hero p {
		font-size: 1.2rem;
	}

	.tool-section h2 {
		font-size: 2rem;
		letter-spacing: -0.3px;
	}

	.tool-section p {
		font-size: 1rem;
	}

	.nav-links {
		display: none;
	}

	.services h2,
	.about h2,
	.contact h2 {
		font-size: 2rem;
	}

	.menu-links a {
		font-size: 2rem;
	}

	.menu-links li {
		margin: 1.5rem 0;
	}
}

.form-section {
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	margin-bottom: 20px;
}

.progress {
	height: 10px;
	border-radius: 5px;
	--bs-progress-bar-bg: #33a16e !important;
}

/* .progress-bar {
	transition: width 0.3s ease-in-out;
	background-color: var(--bs-progress-bar-bg);
} */

.btn {
	margin-top: 20px;
	margin-right: 10px;
}

/* Number input spinners'ı gizle */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox için */
    appearance: textfield; /* Standard property */
}

/* Carousel Styling */
#homeCarousel {
    margin: 0 auto;
    max-width: 100%;
    padding: 0;
}

#homeCarousel .carousel-item {
    height: 600px;
}

#homeCarousel .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#homeCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    left: 10%;
    right: 10%;
    bottom: 20px;
}

#homeCarousel .carousel-caption h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 400;
	color: var(--accent-color);
}

#homeCarousel .carousel-caption p {
    font-size: 16px;
    margin-bottom: 0;
	color: var(--accent-color);
}

/* Carousel indicators */
#homeCarousel .carousel-indicators {
    margin-bottom: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #homeCarousel .carousel-item {
        height: 300px;
    }
    
    #homeCarousel .carousel-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
        border-radius: 0;
        padding: 30px 15px 15px;
        text-align: left;
    }
    
    #homeCarousel .carousel-caption h3 {
        font-size: 18px;
        margin-bottom: 3px;
		color: var(--accent-color);
    }
    
    #homeCarousel .carousel-caption p {
        font-size: 13px;
		color: var(--accent-color);
    }

    #homeCarousel .carousel-indicators {
        bottom: 0;
        margin-bottom: 0;
        padding: 6px 0;
    }
}

/* Daha büyük ekranlar için */
@media (min-width: 1400px) {
    #homeCarousel .carousel-item {
        height: 700px;
    }
}

/* Urunler Tablo Ozellestirme */
.table-header-custom th {
    color: white !important;
    font-weight: 500 !important;
    border-bottom: none !important;
}

.table-header-custom th:first-child {
    border-top-left-radius: 4px;
}

.table-header-custom th:last-child {
    border-top-right-radius: 4px;
}

/* Switch/Toggle Button Styles */
.form-check-input:checked {
    background-color: #33a16e !important;
    border-color: #33a16e !important;
}

.form-check-input:not(:checked) {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

.form-switch .form-check-input:checked {
    background-color: #33a16e !important;
    border-color: #33a16e !important;
}

.form-switch .form-check-input:not(:checked) {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

/* Primary button color */
.btn-primary {
    background-color: #33a16e !important;
    border-color: #33a16e !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #2a8d5c !important;
    border-color: #2a8d5c !important;
}

/* Nav tabs active state */
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #33a16e !important;
    border-color: #33a16e !important;
}

/* Active state for other components */
.active, .selected {
    color: #33a16e !important;
}

/* Bootstrap overrides */
.text-primary, .link-primary {
    color: #33a16e !important;
}

.bg-primary {
    background-color: #33a16e !important;
}

.border-primary {
    border-color: #33a16e !important;
}

.btn-outline-primary {
    color: #33a16e !important;
    border-color: #33a16e !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: #33a16e !important;
    color: white !important;
}

.badge-primary, .bg-primary {
    background-color: #33a16e !important;
}

a {
    color: #33a16e;
}

a:hover {
    color: #2a8d5c;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
}

/* Additional Bootstrap overrides */
.list-group-item.active {
    background-color: #33a16e !important;
    border-color: #33a16e !important;
}

.page-item.active .page-link {
    background-color: #33a16e !important;
    border-color: #33a16e !important;
}

.page-link {
    color: #33a16e !important;
}

.page-link:hover {
    color: #2a8d5c !important;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #33a16e !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #33a16e !important;
}

/* Fix for any Bootstrap table headers or other elements */
.table-primary {
    background-color: rgba(51, 161, 110, 0.2) !important;
}

.table-primary > th, .table-primary > td {
    background-color: rgba(51, 161, 110, 0.2) !important;
}

/* Alerts primary */
.alert-primary {
    color: #103423 !important;
    background-color: rgba(51, 161, 110, 0.15) !important;
    border-color: rgba(51, 161, 110, 0.5) !important;
}

/* Custom inputs focus */
.form-control:focus, 
.form-select:focus, 
.form-check-input:focus, 
textarea:focus, 
input[type="text"]:focus, 
input[type="password"]:focus, 
input[type="email"]:focus, 
input[type="number"]:focus {
    border-color: #33a16e !important;
    box-shadow: 0 0 0 0.25rem rgba(51, 161, 110, 0.25) !important;
}

/* Bootstrap badges */
.badge-primary, .badge.bg-primary {
    background-color: #33a16e !important;
}

/* Fix any remaining hoverable elements */
.nav-link:hover, 
.dropdown-item:hover, 
.list-group-item-action:hover {
    color: #2a8d5c !important;
}

.nav-link:focus, .nav-link.active {
    color: #33a16e !important;
}

/* Fix card headers and other card elements */
.card-header.bg-primary, .card-footer.bg-primary {
    background-color: #33a16e !important;
}

/* Make sure navigation is properly styled */
.navbar-dark {
    background-color: #33a16e !important;
}

.navbar-light .navbar-brand, 
.navbar-light .navbar-nav .nav-link.active, 
.navbar-light .navbar-nav .show > .nav-link {
    color: #33a16e !important;
}

/* Fix any colored text */
.text-black, .text-dark {
    color: var(--text-color) !important;
}

#carousel-caption-outer {
    position: relative;
    z-index: 1000;
    margin-top: -50px;  /* caurosel aciklama üst bosluk */
    margin-bottom: 3px; /* caurosel aciklama alt bosluk */
}

.carousel-caption-custom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin: 0 auto;
    width: 80%;
    position: relative;
}

.carousel-caption-custom h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 400;
    color: white;
}

.carousel-caption-custom p {
    font-size: 16px;
    margin-bottom: 0;
    color: white;
}

@media (max-width: 768px) {
    .carousel-caption-custom {
        width: 90%;
        padding: 15px;
    }
    
    .carousel-caption-custom h3 {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .carousel-caption-custom p {
        font-size: 13px;
    }
}
