/* ===== Responsive Design ===== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	width: 100%;
	max-width: 100%;
	margin: 0;
	overflow-x: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
}

section,
.container,
.footer-grid,
.nav-container {
	min-width: 0;
}

section {
	width: 100%;
	max-width: 100%;
}

.container {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-right: 20px;
	padding-left: 20px;
}

input,
select,
textarea,
button {
	max-width: 100%;
}

/* Tablets (768px and below) */
@media (max-width: 992px) {
	html,
	body {
		overflow-x: hidden;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	h3 {
		font-size: 1.25rem;
	}

	.navbar {
		padding: 0.75rem 1rem;
	}

	/* Hero Section */
	.hero .container {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 40px 20px;
	}

	.hero-content h1 {
		font-size: 2.2rem;
	}

	.hero-content > p {
		font-size: 1rem;
	}

	.hero-buttons {
		flex-direction: column;
	}

	.hero-buttons a {
		width: 100%;
		text-align: center;
	}

	.hero-metrics {
		flex-wrap: wrap;
		gap: 2rem;
	}

	.hero-placeholder {
		height: 300px;
	}

	.slider,
	#hero-7 .slider,
	#hero-7 .slider .slides {
		height: 480px;
		margin-top: 72px;
	}

	.video-play-button {
		width: 84px;
		height: 84px;
	}

	.video-play-button:before {
		width: 84px;
		height: 84px;
	}

	.video-play-button:after {
		width: 74px;
		height: 74px;
	}

	.video-play-button span {
		border-left-width: 24px;
		border-top-width: 18px;
		border-bottom-width: 18px;
	}

	.hero img,
	.hero svg,
	.hero iframe,
	.hero video,
	.product-hero img,
	.product-hero svg,
	.product-hero iframe,
	.product-hero video,
	.stacked-feature img,
	.stacked-feature svg,
	.stacked-feature iframe,
	.stacked-feature video {
		width: 100%;
		height: auto;
	}

	.google-map iframe {
		height: min(42vh, 320px);
	}

	.banner-5-txt img,
	.author-senoff img {
		float: none;
		display: block;
		margin: 0 auto 1rem;
		max-width: 100%;
		height: auto;
	}

	#page {
		overflow: visible;
	}

	/* Features Section */
	.features {
		padding: 60px 0;
	}

	.features-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	/* Benefits Section */
	.benefits-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.benefit-item {
		padding: 1.5rem 1rem;
	}

	/* CTA Section */
	.cta-section {
		padding: 40px 0;
	}

	.cta-section h2 {
		font-size: 1.75rem;
	}

	/* Footer */
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	/* Ürün Sayfaları */
	.product-hero .hero-inner {
		flex-direction: column;
		text-align: center;
	}
	.product-hero .hero-text {
		align-items: center;
	}
	.product-hero .hero-visual {
		margin-top: 2rem;
	}
	.product-type-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	#featureSidebar {
		display: none;
	}

	.stacked-features-wrapper {
		margin-top: 2rem;
		gap: 3rem;
	}

	.stacked-feature {
		padding: 2.5rem 0;
	}

	.feature-container {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.feature-text h3 {
		font-size: 2rem;
	}

	body.login-page,
	html:has(body.login-page) {
		overflow: auto;
	}

	.login-wrapper {
		height: auto;
		min-height: 100vh;
	}

	.newsletter-form input {
		min-width: 0;
		width: 100%;
	}

	.blog-grid,
	.gallery-grid,
	.cards-grid,
	.services-grid,
	.contact-grid,
	.facts-grid {
		grid-template-columns: 1fr;
	}

	.category-tabs,
	.action-buttons,
	.hero-buttons,
	.footer-bottom-links {
		flex-wrap: wrap;
	}
}

/* Small tablets and phones */
@media (max-width: 640px) {
	.container,
	.product-hero .container,
	.page-hero .container {
		padding-right: 16px;
		padding-left: 16px;
	}

	.page-hero,
	.policy-content,
	.contact-section,
	.contact-card {
		width: 100%;
		max-width: 100%;
	}

	.product-hero h1,
	.page-hero h1 {
		overflow-wrap: anywhere;
	}

	/* Ürün hero mobil sıralaması: etiket → görsel → içerik */
	.product-hero .hero-inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		text-align: center;
	}

	.product-hero .hero-text {
		display: contents;
	}

	.product-hero .hero-text .eyebrow {
		order: 1;
		justify-self: center;
		justify-content: center !important;
		margin: 0 0 0.75rem;
	}

	.product-hero .hero-visual {
		order: 2;
		width: 100%;
		min-height: 330px;
		margin: 0 auto 1.25rem;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.product-hero .hero-visual svg {
		width: min(108%, 390px) !important;
		max-width: 390px !important;
		height: auto;
		transform: scale(1.08);
		transform-origin: center;
	}

	.product-hero .hero-text h1 {
		order: 3;
		margin-bottom: 1rem;
	}

	.product-hero .hero-text > p {
		order: 4;
		margin: 0 auto 1.5rem;
	}

	.product-hero .hero-text .hero-buttons {
		order: 5;
	}

	.product-hero .hero-buttons,
	.category-tabs {
		width: 100%;
	}

	.product-hero .hero-buttons a,
	.category-tabs .cat-tab {
		width: 100%;
		justify-content: center;
	}

	.category-tabs .cat-tab span {
		display: inline;
	}

	.product-type-grid,
	.pricing-grid,
	.addon-grid,
	.footer-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.product-type-card,
	.pricing-card,
	.addon-card,
	.contact-form-side,
	.contact-info-side {
		min-width: 0;
	}

	.product-type-card img {
		width: auto;
		max-width: 100%;
		height: auto !important;
		max-height: 280px;
		object-fit: contain;
	}

	.contact-form-side,
	.contact-info-side {
		padding: 1.5rem;
	}

	.form-group input,
	.form-group select,
	.form-group textarea {
		width: 100%;
		min-width: 0;
	}

	.info-content,
	.policy-text,
	.card-body {
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.login-grid {
		padding-right: 0;
		overflow: visible;
	}

	.login-card {
		padding: 1.5rem;
	}
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
	html,
	body {
		overflow-x: hidden;
	}

	.container {
		padding: 0 15px;
	}

	section {
		overflow-x: hidden;
	}

	h1 {
		font-size: 1.8rem;
	}

	h2 {
		font-size: 1.5rem;
		margin-bottom: 1rem;
	}

	h3 {
		font-size: 1rem;
	}

	.btn-primary, .btn-secondary, .btn-login {
		padding: 10px 16px;
		font-size: 0.9rem;
	}

	.btn-primary, .btn-secondary, .btn-login, .btn-ghost-white {
		width: 100%;
		justify-content: center;
	}

	.btn-lg {
		padding: 12px 24px;
		font-size: 1rem;
	}

	/* Hero Section */
	.hero-content h1 {
		font-size: 1.9rem;
		line-height: 1.3;
	}

	.hero-content > p {
		font-size: 0.95rem;
	}

	.hero-metrics {
		flex-direction: column;
		gap: 1rem;
	}

	.metric-value {
		font-size: 1.5rem;
	}

	.hero-placeholder {
		height: 250px;
	}

	.slider,
	#hero-7 .slider,
	#hero-7 .slider .slides {
		height: 360px;
		margin-top: 64px;
	}

	.hero,
	.product-hero,
	.cta-section,
	.footer,
	.features,
	.benefits {
		padding-left: 0;
		padding-right: 0;
	}

	.hero-buttons,
	.action-buttons,
	.category-tabs {
		gap: 0.75rem;
	}

	.hero-buttons a,
	.action-buttons a,
	.category-tabs .cat-tab {
		width: 100%;
	}

	.scroll-to-top {
		width: 44px;
		height: 44px;
		bottom: 16px;
		right: 16px;
		border-radius: 10px;
		font-size: 1rem;
	}

	.section,
	section {
		scroll-margin-top: 88px;
	}

	.hero img,
	.product-hero img,
	.stacked-feature img {
		max-width: 100%;
		height: auto;
	}

	/* Features */
	.section-subtitle {
		font-size: 1rem;
	}

	.feature-card {
		padding: 1.5rem;
	}

	/* CTA Section */
	.cta-section h2 {
		font-size: 1.5rem;
	}

	.cta-section p {
		font-size: 0.95rem;
	}

	/* Footer */
	.footer-section h4 {
		font-size: 1rem;
	}

	.footer-section p,
	.footer-section a {
		font-size: 0.85rem;
	}

	.social-links {
		gap: 0.75rem;
	}

	.social-links a {
		width: 36px;
		height: 36px;
	}

	.social-links svg {
		width: 16px;
		height: 16px;
	}

	/* Ürün Sayfaları */
	.packages-section .section-header {
		padding: 0 1rem;
	}
	.product-type-card {
		padding: 2rem 1.25rem;
	}
	.category-tabs {
		gap: 0.5rem;
	}
	.cat-tab {
		width: 100%;
		justify-content: center;
	}
	.newsletter-form {
		gap: 0.75rem;
	}
	.newsletter-form button {
		width: 100%;
	}
	.addon-grid {
		grid-template-columns: 1fr !important;
	}
	.addon-card,
	.pricing-card {
		padding: 1.5rem;
	}
	.login-grid {
		grid-template-columns: 1fr;
	}

	.google-map iframe {
		height: 240px;
	}

	#featureSidebar {
		display: none;
	}

	.stacked-features-wrapper {
		gap: 2.5rem;
	}

	.feature-container {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.feature-text h3 {
		font-size: 1.7rem;
	}

	.newsletter-form input {
		min-width: 0;
		width: 100%;
	}

	.newsletter-form button {
		width: 100%;
	}

	.banner-5-txt img,
	.author-senoff img {
		max-width: 100%;
	}


	.video-play-button {
		width: 68px;
		height: 68px;
	}

	.video-play-button:before {
		width: 68px;
		height: 68px;
	}

	.video-play-button:after {
		width: 60px;
		height: 60px;
	}

	.video-play-button span {
		border-left-width: 20px;
		border-top-width: 14px;
		border-bottom-width: 14px;
	}

	.nav-container {
		width: 94%;
	}

	.nav-menu {
		width: min(92vw, 320px);
	}
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
	:root {
		--dark-text: #f3f4f6;
		--light-text: #d1d5db;
		--light-bg: #111827;
		--border-color: #374151;
	}

	body {
		background: #1f2937;
		color: var(--dark-text);
	}

	.header {
		background: #111827;
		border-bottom: 1px solid var(--border-color);
	}

	.feature-card {
		background: #111827;
	}

	.hero {
		background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
	}

	.hero-placeholder {
		background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
	}

}

/* Print Styles */
@media print {
	.header,
	.footer,
	.cta-section {
		display: none;
	}

	body {
		color: #000;
		background: #fff;
	}

	a {
		text-decoration: underline;
	}
}

/* Ürün sayfaları: açık zemin üzerindeki açıklama metinleri */
.packages-section .section-header > p,
.packages-section .panel-intro p,
.packages-section .card-price-period,
.packages-section .card-price-note,
.packages-section .card-features li,
.addons-section .addons-heading > p,
.addons-section .addon-info p,
.pricing-section .section-subtitle,
.pricing-section .text-muted,
.pricing-section .pricing-features li {
	color: #111111 !important;
}

/* Ürün hero görselleri: yalnızca masaüstünde daha güçlü ölçek */
@media (min-width: 769px) {
	.product-hero .hero-visual svg {
		width: 112%;
		max-width: 520px;
	}
}
